HTTP 500: order value is bad from Workflow User Task Dashlet after 7.0.7 upgrade

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hi-ko
    Member
    • May 2015
    • 90

    HTTP 500: order value is bad from Workflow User Task Dashlet after 7.0.7 upgrade

    I upgraded
    * espocrm --> 7.0.7
    * Advanced Pack --> 2.8.7

    Now I get "ERROR 500: order value is bad" from the "Workflow User Tasks" dashlet.
    I tried to remove the dashlet and insert it again but that did not change anything.
    Code:
    ERROR: (0) order value is bad.; GET /BpmnUserTask; line: 354, file: /var/www/html/espocrm/application/Espo/Core/Select/SearchParams.php [] []
    The request done by the dashlet is:
    Code:
    /api/v1/BpmnUserTask?select=name&maxSize=5&offset=0&orderBy=createdAt&order=false&where[0][type]=bool&where[0][value][]=onlyMy&where[1][type]=primary&where[1][value]=notResolved
  • hi-ko
    Member
    • May 2015
    • 90

    #2
    I fixed the filters in dashlet application/Espo/Modules/Advanced/Resources/metadata/dashlets/BpmnUserTasks.json
    Code:
    @@ -22,8 +22,8 @@
    }^M
    },^M
    "defaults": {^M
    - "sortBy": "createdAt",^M
    - "asc": false,^M
    + "orderBy": "createdAt",^M
    + "order": "asc",^M
    "displayRecords": 5,^M
    "expandedLayout": {^M
    "rows": [^M
    @@ -39,7 +39,7 @@
    "bool": {^M
    "onlyMy": true^M
    },^M
    - "primary": "notResolved"^M
    + "primary": "actual"^M
    }^M
    },^M
    "layout": [^M

    Comment

    • yuri
      Member
      • Mar 2014
      • 8440

      #3
      Will be fixed today. Thanks for reporting.
      If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

      Comment

      Working...