Filter created with Java API initially not working

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Won't Fix
    • Priority: L3 - Default
    • None
    • Affects Version/s: 7.5.2
    • Component/s: tasklist
    • None

      Consider following code snippet:

      Filter filter = filterService.newTaskFilter("Test");
      TaskQuery query = taskService.createTaskQuery();
      query.taskAssignee("${currentUser()}")
      filter.setQuery(query);
      

      The filter appears, but no tasks are shown. If however an administrator opens the edit dialog and saves, tasks are being shown.

      Other filters created using the API, but without EL, work as expected.

        This is the controller panel for Smart Panels app

              Assignee:
              Unassigned
              Reporter:
              Casper Biever
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: