[jboss-jira] [JBoss JIRA] (WFLY-3232) XTS coordinator URL is not initialised correctly
Gytis Trikleris (JIRA)
issues at jboss.org
Thu May 8 08:51:56 EDT 2014
[ https://issues.jboss.org/browse/WFLY-3232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gytis Trikleris updated WFLY-3232:
----------------------------------
Priority: Major (was: Critical)
> 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
> 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 was sent by Atlassian JIRA
(v6.2.3#6260)
More information about the jboss-jira
mailing list