Bug 1017199 - Unsuccessful roll back of attribute updates where no value previously existed.
Summary: Unsuccessful roll back of attribute updates where no value previously existed.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Domain Management
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ER6
: EAP 6.2.0
Assignee: Darran Lofthouse
QA Contact: Petr Kremensky
Russell Dickenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-09 12:30 UTC by Darran Lofthouse
Modified: 2013-12-15 16:18 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-15 16:18:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker WFLY-2271 0 Major Resolved A problem setting include-all on a role mapping is failing getting rolled back. 2013-10-17 08:52:54 UTC

Description Darran Lofthouse 2013-10-09 12:30:02 UTC
Description of problem:

This was originally discovered for a failed roll back of the include-all attribute on a role mapping, however in general there is a problem where rolling back a write-attribute operation is failing where the value was previously not set.

Errors similar to the following can be seen: -

[Host Controller] ]: java.lang.IllegalArgumentException
[Host Controller] 	at org.jboss.dmr.ModelValue.asBoolean(ModelValue.java:66) [jboss-dmr-1.2.0.Final.jar:1.2.0.Final]
[Host Controller] 	at org.jboss.dmr.ModelNode.asBoolean(ModelNode.java:262) [jboss-dmr-1.2.0.Final.jar:1.2.0.Final]
[Host Controller] 	at org.jboss.as.domain.management.access.RoleIncludeAllWriteAttributeHander.revertUpdateToRuntime(RoleIncludeAllWriteAttributeHander.java:65)


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Petr Kremensky 2013-10-17 08:16:01 UTC
Verified on EAP 6.2.0.ER6.


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