Bug 41087 - The LinkList widget should accept static values
The LinkList widget should accept static values
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.1-1-errata
Assigned To: Jürn Brodersen
Alexander Kläser
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-04-20 17:00 CEST by Jürn Brodersen
Modified: 2016-05-04 18:14 CEST (History)
3 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments
Proposed patch (562 bytes, patch)
2016-04-20 17:00 CEST, Jürn Brodersen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jürn Brodersen univentionstaff 2016-04-20 17:00:36 CEST
Created attachment 7604 [details]
Proposed patch

The LinkList widget currently only supports "dynamicValues" but it would be nice if it would support "staticValues", too.

I discussed with klaeser@univention.de to use dgrid and its ability to observe store changes instead of using "this.on('ValuesLoaded',…".
The problem was that _SelectMixin uses the old data store from dojo and dgrid expects the new object store.
It is possible to use dojo/store/DataStore as a connector but store change notifications don't seem to be forwarded. As a result the observer event on the object store doesn't fire and the grid is not updated.
Comment 1 Jürn Brodersen univentionstaff 2016-04-26 17:05:46 CEST
UCS4.1-1:

r68917: * the LinkList widget now accepts staticValues
r68918: YAML
Package: univention-management-console-frontend
Version: 5.0.63-37.1229.201604261658

I wasn't sure what I should put into the YAML file, please change it if necessary :)
Comment 2 Alexander Kläser univentionstaff 2016-04-29 15:58:20 CEST
Changes: OK, staticValues are working now.
YAML file: OK, minor text adaptations [r69025].
Comment 3 Janek Walkenhorst univentionstaff 2016-05-04 18:14:26 CEST
<http://errata.software-univention.de/ucs/4.1/174.html>