Deleting task in the task overview with active filter leads to an error

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • None
    • Affects Version/s: None
    • Component/s: Task Management

      Problem

      When trying to remove task in the task overview panel, and there is an active filter in the task grid, js error is thrown.

      To reproduce

      1. Open the task overview panel (the user needs to have pm rights)
      2. Set an active filter in the task overview panel (ex: filter for customer)
      3. try to delete one of the filtered tasks

      Additional todo: add progress bar when deleting projects.

      Stack trace

      ext-all-debug.js:2611 Uncaught Error: Cannot modify ext-empty-store at new Ext.Error (ext-all-debug.js:2611) at Function.raise (ext-all-debug.js:2670) at Object.Ext.raise (ext-all-debug.js:2749) at constructor.emptyStore.add.emptyStore.remove.emptyStore.insert.emptyStore.loadData (ext-all-debug.js:93018) at constructor.onBeforeTaskDeleteEventHandler (ProjectPanelViewController.js?_dc=1611655643831:204) at constructor.fire (ext-all-debug.js:20731) at constructor.dispatch (ext-all-debug.js:57952) at constructor.prototype.doFireEvent (ext-all-debug.js:58109) at constructor.fireEventArgs (ext-all-debug.js:21553) at constructor.fireEvent (ext-all-debug.js:21512)
      

       

            Assignee:
            Aleksandar Mitrev
            Reporter:
            Aleksandar Mitrev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: