Bug 1083877

Summary: CLI GUI offers write and undefine operations on read-only attribute
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Rostislav Svoboda <rsvoboda>
Component: Domain ManagementAssignee: Stan Silvert <ssilvert>
Status: CLOSED NOTABUG QA Contact: Petr Kremensky <pkremens>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: emuckenh, ssilvert
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-04 11:47:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Rostislav Svoboda 2014-04-03 07:11:28 UTC
This issue came up during verification of https://bugzilla.redhat.com/show_bug.cgi?id=987898#c11

CLI GUI offers write and undefine operations on read-only attribute
Details from https://bugzilla.redhat.com/show_bug.cgi?id=987898#c13 provided by Rebecca Searls:

> I consulted with Brian Stansberry and Stan Silvert on this change.
> Brian speculated this might be a general problem that occurs with any
> read-only attribute.  Stan confirmed it.  
> 
> -- Stan wrote ...
> > I implemented the fix but I don't like the way it turned out from a
> > usability standpoint.
> > 
> > If it is a read-only attribute then there will be no operations menu
> > when you right-click the node.  That's very confusing because some nodes
> > will have a menu and others will not.
> > 
> > The alternative to displaying nothing is to display some sort of error
> > or warning like "This attribute is read only".  IMO, that's more
> > annoying than just letting the user execute the command.
> > 
> > Furthermore, the regular CLI does not do this check either.  It happily
> > performs tab completion and lets you execute.
> 
> > So I think it's best if we just leave it alone and tell the customer it
> > is working as designed.

Comment 1 Stan Silvert 2014-04-04 11:47:26 UTC
Working as designed.  IMO, the proposed change would harm usability.