[jboss-jira] [JBoss JIRA] (WFLY-3232) XTS coordinator URL is not initialised correctly

Tomaz Cerar (JIRA) issues at jboss.org
Sun Apr 13 17:20:33 EDT 2014


     [ https://issues.jboss.org/browse/WFLY-3232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomaz Cerar updated WFLY-3232:
------------------------------

    Fix Version/s: 8.1.0.Final
                       (was: 8.1.0.CR1)

    
> XTS coordinator URL is not initialised correctly
> ------------------------------------------------
>
>                 Key: WFLY-3232
>                 URL: https://issues.jboss.org/browse/WFLY-3232
>             Project: WildFly
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: XTS
>            Reporter: Gytis Trikleris
>            Assignee: Gytis Trikleris
>            Priority: Critical
>             Fix For: 8.1.0.Final
>
>
> XTS subsystem uses wrong attribute names to get coordinator URL from the server configuration. Therefore it always uses default values.
> How it is implemented:
> {code}
> final String coordinatorURL = model.get(CommonAttributes.XTS_ENVIRONMENT).hasDefined(ModelDescriptionConstants.URL)
> ? model.get(CommonAttributes.XTS_ENVIRONMENT, ModelDescriptionConstants.URL).asString() : null;
> {code}
> How it should be implemented:
> {code}
> final ModelNode coordinatorURLAttribute = ENVIRONMENT_URL.resolveModelAttribute(context, model);
> final String coordinatorURL = coordinatorURLAttribute.isDefined() ? coordinatorURLAttribute.asString() : null;
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list