Bug 790179 - config editor: member maps of list-o-maps will be made read-only if the member map prop def is read-only
Summary: config editor: member maps of list-o-maps will be made read-only if the membe...
Keywords:
Status: NEW
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 4.2
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-13 20:41 UTC by Ian Springer
Modified: 2024-03-04 13:35 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Ian Springer 2012-02-13 20:41:26 UTC
This is wrong, because there are a couple special cases where we allow the user to edit member props even if the corresponding member prop def is read-only, namely:

// special case 1: property has a plugin-set error message - allow user to edit it even if it's a read-only prop,
// otherwise the user will have no way to give the property a new value and thereby get things to a valid state
// special case 2: required simple prop with no value - allow user to edit it even if it's a read-only prop,
// otherwise the user will have no way to give the property a new value and thereby get things to a valid state

So to implement this correctly, we would need to check whether each member map is read-only one by one, rather than just checking if the prop def is read-only.

Comment 1 Mike Foley 2012-02-27 17:13:10 UTC
triage 2/27/2012 mfoley, asantos, crouch, loleary


Note You need to log in before you can comment on or make changes to this bug.