You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
otherwise, some fields are empty instead of dispalying group names (because this.groups contains only 20 entries, and not all the groups possibly involved in the rules)
I think a good way to resolve this is adding a limit parameter to searchAsync(searchQuery, limit=20)
if limit is null, no limit parameter should be added to the axios query
if (this.groups.length === 0) {
await this.searchAsync('', null)
}
Of course the best way to solve this should be that you pass to the axios query an array of groups IDs already involved in the rules of the edited workflow, but this implies changes on the backend
The text was updated successfully, but these errors were encountered:
Hello
If you edit an existing workflow with group rules, and that you have more than 20 groups in database, group selects are not properly initialized
server/apps/workflowengine/src/components/Checks/RequestUserGroup.vue
Lines 73 to 75 in f9b4084
initialization should be done without
limit=20
parameter hereserver/apps/workflowengine/src/components/Checks/RequestUserGroup.vue
Line 87 in f9b4084
otherwise, some fields are empty instead of dispalying group names (because this.groups contains only 20 entries, and not all the groups possibly involved in the rules)
I think a good way to resolve this is adding a limit parameter to
searchAsync(searchQuery, limit=20)
if limit is null, no limit parameter should be added to the axios query
Of course the best way to solve this should be that you pass to the axios query an array of groups IDs already involved in the rules of the edited workflow, but this implies changes on the backend
The text was updated successfully, but these errors were encountered: