Steps to reproduce:
1) login to tasklist
2) create a new filter
3) enter a filter name
4) add a criteria "Business Key Like" with the value ${currentUser}
5) save filter
Problem:
The following request is peformed:
POST /filter/create
with the following request body
{ ... "query": { "processInstanceBusinessKeyLike":"%${ currentUser() }%" }, ... }
Expected Behavior:
The request body should be
{ ... "query": { "processInstanceBusinessKeyLikeExpression":"%${ currentUser() }%" }, ... }
I.e. the criteria name processInstanceBusinessKeyLikeExpression should be set.
Hint:
- In [1] the value will be manipulated, so that in [2] the function isExpression() returns false.
- The "Business Key Like Expression" cannot be used in the search field "Filter Tasks"
[1]: https://github.com/camunda/camunda-bpm-webapp/blob/4b696449f6023750b86a49c898da6a62d6cd158e/ui/tasklist/client/scripts/filter/modals/cam-tasklist-filter-modal.js#L259
[2]: https://github.com/camunda/camunda-bpm-webapp/blob/4b696449f6023750b86a49c898da6a62d6cd158e/ui/tasklist/client/scripts/filter/modals/cam-tasklist-filter-modal.js#L264
This is the controller panel for Smart Panels app
[CAM-8506] Filter criteria "Business Key Like" is not stored as an expression
Description |
Original:
*Steps to reproduce:*
1) login to tasklist 2) create a new filter 3) enter a filter name 4) add a criteria "Business Key Like" with the value {{$\{currentUser\}}} 5) save filter *Problem:* The following request is peformed: {{ POST /filter/create}} with the following request body {code} { ... "query": { "processInstanceBusinessKeyLike":"%${ currentUser() }%" }, ... } {code} *Expected Behavior:* The request body should be {code} { ... "query": { "processInstanceBusinessKeyLikeExpression":"%${ currentUser() }%" }, ... } {code} I.e. the criteria {{processInstanceBusinessKeyLikeExpression}} is used. Hint: - In [1] the value will be manipulated, so that in [2] the function {{isExpression()}} returns false. - The "Business Key Like Expression" cannot also be used in the search field "Filter Tasks" [1]: https://github.com/camunda/camunda-bpm-webapp/blob/4b696449f6023750b86a49c898da6a62d6cd158e/ui/tasklist/client/scripts/filter/modals/cam-tasklist-filter-modal.js#L259 [2]: https://github.com/camunda/camunda-bpm-webapp/blob/4b696449f6023750b86a49c898da6a62d6cd158e/ui/tasklist/client/scripts/filter/modals/cam-tasklist-filter-modal.js#L264 |
New:
*Steps to reproduce:*
1) login to tasklist 2) create a new filter 3) enter a filter name 4) add a criteria "Business Key Like" with the value {{$\{currentUser\}}} 5) save filter *Problem:* The following request is peformed: {{ POST /filter/create}} with the following request body {code} { ... "query": { "processInstanceBusinessKeyLike":"%${ currentUser() }%" }, ... } {code} *Expected Behavior:* The request body should be {code} { ... "query": { "processInstanceBusinessKeyLikeExpression":"%${ currentUser() }%" }, ... } {code} I.e. the criteria name {{processInstanceBusinessKeyLikeExpression}} should be set. Hint: - In [1] the value will be manipulated, so that in [2] the function {{isExpression()}} returns false. - The "Business Key Like Expression" cannot also be used in the search field "Filter Tasks" [1]: https://github.com/camunda/camunda-bpm-webapp/blob/4b696449f6023750b86a49c898da6a62d6cd158e/ui/tasklist/client/scripts/filter/modals/cam-tasklist-filter-modal.js#L259 [2]: https://github.com/camunda/camunda-bpm-webapp/blob/4b696449f6023750b86a49c898da6a62d6cd158e/ui/tasklist/client/scripts/filter/modals/cam-tasklist-filter-modal.js#L264 |
Link | New: This issue is related to SUPPORT-3461 [ SUPPORT-3461 ] |
Description |
Original:
*Steps to reproduce:*
1) login to tasklist 2) create a new filter 3) enter a filter name 4) add a criteria "Business Key Like" with the value {{$\{currentUser\}}} 5) save filter *Problem:* The following request is peformed: {{ POST /filter/create}} with the following request body {code} { ... "query": { "processInstanceBusinessKeyLike":"%${ currentUser() }%" }, ... } {code} *Expected Behavior:* The request body should be {code} { ... "query": { "processInstanceBusinessKeyLikeExpression":"%${ currentUser() }%" }, ... } {code} I.e. the criteria name {{processInstanceBusinessKeyLikeExpression}} should be set. Hint: - In [1] the value will be manipulated, so that in [2] the function {{isExpression()}} returns false. - The "Business Key Like Expression" cannot also be used in the search field "Filter Tasks" [1]: https://github.com/camunda/camunda-bpm-webapp/blob/4b696449f6023750b86a49c898da6a62d6cd158e/ui/tasklist/client/scripts/filter/modals/cam-tasklist-filter-modal.js#L259 [2]: https://github.com/camunda/camunda-bpm-webapp/blob/4b696449f6023750b86a49c898da6a62d6cd158e/ui/tasklist/client/scripts/filter/modals/cam-tasklist-filter-modal.js#L264 |
New:
*Steps to reproduce:*
1) login to tasklist 2) create a new filter 3) enter a filter name 4) add a criteria "Business Key Like" with the value {{$\{currentUser\}}} 5) save filter *Problem:* The following request is peformed: {{ POST /filter/create}} with the following request body {code} { ... "query": { "processInstanceBusinessKeyLike":"%${ currentUser() }%" }, ... } {code} *Expected Behavior:* The request body should be {code} { ... "query": { "processInstanceBusinessKeyLikeExpression":"%${ currentUser() }%" }, ... } {code} I.e. the criteria name {{processInstanceBusinessKeyLikeExpression}} should be set. Hint: - In [1] the value will be manipulated, so that in [2] the function {{isExpression()}} returns false. - The "Business Key Like Expression" cannot be used in the search field "Filter Tasks" [1]: https://github.com/camunda/camunda-bpm-webapp/blob/4b696449f6023750b86a49c898da6a62d6cd158e/ui/tasklist/client/scripts/filter/modals/cam-tasklist-filter-modal.js#L259 [2]: https://github.com/camunda/camunda-bpm-webapp/blob/4b696449f6023750b86a49c898da6a62d6cd158e/ui/tasklist/client/scripts/filter/modals/cam-tasklist-filter-modal.js#L264 |
Description |
Original:
*Steps to reproduce:*
1) login to tasklist 2) create a new filter 3) enter a filter name 4) add a criteria "Business Key Like" with the value {{$\{currentUser\}}} 5) save filter *Problem:* The following request is peformed: {{ POST /filter/create}} with the following request body {code} { ... "query": { "processInstanceBusinessKeyLike":"%${ currentUser() }%" }, ... } {code} *Expected Behavior:* The request body should be {code} { ... "query": { "processInstanceBusinessKeyLikeExpression":"%${ currentUser() }%" }, ... } {code} I.e. the criteria name {{processInstanceBusinessKeyLikeExpression}} should be set. Hint: - In [1] the value will be manipulated, so that in [2] the function {{isExpression()}} returns false. - The "Business Key Like Expression" cannot be used in the search field "Filter Tasks" [1]: https://github.com/camunda/camunda-bpm-webapp/blob/4b696449f6023750b86a49c898da6a62d6cd158e/ui/tasklist/client/scripts/filter/modals/cam-tasklist-filter-modal.js#L259 [2]: https://github.com/camunda/camunda-bpm-webapp/blob/4b696449f6023750b86a49c898da6a62d6cd158e/ui/tasklist/client/scripts/filter/modals/cam-tasklist-filter-modal.js#L264 |
New:
*Steps to reproduce:*
1) login to tasklist 2) create a new filter 3) enter a filter name 4) add a criteria "Business Key Like" with the value {{$\{currentUser\}}} 5) save filter *Problem:* The following request is peformed: {{POST /filter/create}} with the following request body {code} { ... "query": { "processInstanceBusinessKeyLike":"%${ currentUser() }%" }, ... } {code} *Expected Behavior:* The request body should be {code} { ... "query": { "processInstanceBusinessKeyLikeExpression":"%${ currentUser() }%" }, ... } {code} I.e. the criteria name {{processInstanceBusinessKeyLikeExpression}} should be set. Hint: - In [1] the value will be manipulated, so that in [2] the function {{isExpression()}} returns false. - The "Business Key Like Expression" cannot be used in the search field "Filter Tasks" [1]: https://github.com/camunda/camunda-bpm-webapp/blob/4b696449f6023750b86a49c898da6a62d6cd158e/ui/tasklist/client/scripts/filter/modals/cam-tasklist-filter-modal.js#L259 [2]: https://github.com/camunda/camunda-bpm-webapp/blob/4b696449f6023750b86a49c898da6a62d6cd158e/ui/tasklist/client/scripts/filter/modals/cam-tasklist-filter-modal.js#L264 |
Workflow | Original: camunda BPM [ 44795 ] | New: Backup_camunda BPM [ 56388 ] |
Fix Version/s | Original: 7.8.x [ 14900 ] |
This ticket was migrated to github: https://github.com/camunda/camunda-bpm-platform/issues/2179. Please use this link for any future references and continue any discussion there.