[jboss-jira] [JBoss JIRA] (WFCORE-980) The capability registry fails to rollback properly

Brian Stansberry (JIRA) issues at jboss.org
Wed Sep 16 12:40:00 EDT 2015


    [ https://issues.jboss.org/browse/WFCORE-980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13109449#comment-13109449 ] 

Brian Stansberry commented on WFCORE-980:
-----------------------------------------

I already resolved this, but can you add a unit test of this in the controller module test suite? AbstractCapabilityResolutionTestCase has infrastructure for this kind of testing.

> The capability registry fails to rollback properly
> --------------------------------------------------
>
>                 Key: WFCORE-980
>                 URL: https://issues.jboss.org/browse/WFCORE-980
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 2.0.0.Beta7
>            Reporter: ehsavoie Hugonnet
>            Assignee: ehsavoie Hugonnet
>            Priority: Blocker
>             Fix For: 2.0.0.CR2
>
>
> If we register an already registered capability at a new RegistrationPoint and the operation rollbacks the registry still has the new RegistrationPoint.
> The publishedFullRegistry should be a deep copy of the registry:
> Reproducer working with the WFCORE-949 pr:
> {code:java}
> /socket-binding-group=standard-sockets/socket-binding=management-native:add(port=9999, interface=management)
> /core-service=management/management-interface=native-interface:add(socket-binding=native-management, security-realm=ManagementRealm) 
> /core-service=management/management-interface=native-interface:add(socket-binding=management-native, security-realm=ManagementRealm)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list