[jbossts-issues] [JBoss JIRA] (JBTM-3170) BasicXARecovery class calculates the name of the XA recovery properties file incorrectly if a number of connections is included

Ondrej Chaloupka (Jira) issues at jboss.org
Mon Aug 12 03:06:00 EDT 2019


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

Ondrej Chaloupka commented on JBTM-3170:
----------------------------------------

[~simon.dallaway] From what I can see you are absolutely right about the issue. I created the PR for that.

Please, feel free to contact us at the forum at https://community.jboss.org/en/jbosstm to discuss your issues. And you are more than welcome to propose your PR for the bug you find. Just create the PR at https://github.com/jbosstm/narayana. Thank you for your bug report and the contribution to the Narayana project!

> BasicXARecovery class calculates the name of the XA recovery properties file incorrectly if a number of connections is included
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBTM-3170
>                 URL: https://issues.jboss.org/browse/JBTM-3170
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>            Reporter: Simon Dallaway
>            Assignee: Ondrej Chaloupka
>            Priority: Trivial
>
> The procedure initialise of BasicXARecovery incorrectly calculates the name of the XA recovery properties file if a number of connections is included
> The current code is
> fileName = parameter.substring(0, breakPosition - 1);
> The correct code should be
> fileName = parameter.substring(0, breakPosition);



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jbossts-issues mailing list