Bug 45261 - UMC Grid looses checkmarks when re-ordering components
UMC Grid looses checkmarks when re-ordering components
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 4.2
Other other
: P5 normal (vote)
: UCS 4.2-2-errata
Assigned To: Johannes Keiser
Florian Best
Depends on:
  Show dependency treegraph
Reported: 2017-08-28 14:37 CEST by Michael Grandjean
Modified: 2017-10-18 12:02 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.046
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Ticket number:
Bug group (optional):
Max CVSS v3 score:
keiser: Patch_Available+

patch (1.92 KB, patch)
2017-09-18 14:19 CEST, Johannes Keiser
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Grandjean univentionstaff 2017-08-28 14:37:35 CEST
During system setup we can select UCS components to be installed. If we check one of them (e.g. Self Service) and then re-order the list (alphabetically descending vs. ascending), the checkmark for Self Service is lost.
Comment 1 Erik Damrose univentionstaff 2017-08-28 14:46:38 CEST
This seems to be an issue with all UMC grids, reassigning to component UMC
Comment 2 Johannes Keiser univentionstaff 2017-09-18 14:19:16 CEST
Created attachment 9216 [details]

The selection when changing the sorting is kept.
Additionally the selection when changing the GridView (eg for users) is also kept.

There is an attribute on dgrid/Selection (deselectOnRefresh) that does this but it would also keep selection after searching (even if the selected row is not in the search results).
Comment 3 Florian Best univentionstaff 2017-10-12 14:34:47 CEST
Patch looks good :-)
Comment 4 Johannes Keiser univentionstaff 2017-10-12 16:04:02 CEST
univention-web (1.0.42-49):
74ba531 Bug #45261: Keep selection when sorting grids or changing grid view
08eccd5 Bug #45261: YAML
Comment 5 Florian Best univentionstaff 2017-10-12 18:37:18 CEST
OK: this works well and fast
Comment 6 Arvid Requate univentionstaff 2017-10-18 12:02:47 CEST