Fedora Account System
Red Hat Associate
Red Hat Customer
I'm pretty sure we don't want users to be able to edit the module names. The fix should be to add the readOnly="true" attribute to the member prop def, i.e.: <c:group name="children:extension" displayName="Installed extensions"> <c:list-property name="*" displayName="Installed extensions" readOnly="true" required="false"> <c:map-property name="*" displayName="Name" readOnly="true"> <c:simple-property name="module" displayName="Module name" readOnly="true"/> </c:map-property> </c:list-property> </c:group> Note, the readOnly="true" attribute on the map property itself prevents member props from being added or deleted, but does not prevent existing member props from being updated.
This is a UI bug and not as7-specific -- see also BUG 782506
Heiko, couldn't this property be implemented as a list-of-simples, rather than a list-of-maps? Or was there a reason you made it a list of maps?
This does not change anything -- the row still has the "can be edited" pencil even if the entry can not be modified in the details view. <c:group name="children:extension:module" displayName="Installed extensions" hiddenByDefault="true"> <c:list-property name="extensions" displayName="Installed extensions" readOnly="true" required="false"> <c:simple-property name="module" displayName="Module name" readOnly="true"/> </c:list-property> </c:group> </resource-configuration> See attached screenshot
Created attachment 576764 [details] Screenshot
Lowering priority, this is not a blocker for rhq4.4
Created attachment 595821 [details] Read only fixed
Fixed by Master Commit Id: 87f63d5522059ca035c0c1d1377aba569e552b22 This read only plugin configuration was being was not being rendered by the gui. This fix also fixed related BZ 782506 - config editor shows edit/pencil icon for a map that does not contain any editable member props. I have attached of screenshot of what it looks like now.
Bulk closing of some old issues