Bug 41087

Summary: The LinkList widget should accept static values
Product: UCS Reporter: Jürn Brodersen <brodersen>
Component: UMC (Generic)Assignee: Jürn Brodersen <brodersen>
Status: CLOSED FIXED QA Contact: Alexander Kläser <klaeser>
Severity: normal    
Priority: P5 CC: best, klaeser, walkenhorst
Version: UCS 4.1   
Target Milestone: UCS 4.1-1-errata   
Hardware: Other   
OS: Linux   
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

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>