[gatein-issues] [JBoss JIRA] (GTNPORTAL-2923) Check if the transaction status is being active before doing a commit
Trong Tran (JIRA)
jira-events at lists.jboss.org
Fri Apr 12 12:41:55 EDT 2013
[ https://issues.jboss.org/browse/GTNPORTAL-2923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Trong Tran reassigned GTNPORTAL-2923:
-------------------------------------
Assignee: Trong Tran (was: Boleslaw Dawidowicz)
> Check if the transaction status is being active before doing a commit
> ---------------------------------------------------------------------
>
> Key: GTNPORTAL-2923
> URL: https://issues.jboss.org/browse/GTNPORTAL-2923
> Project: GateIn Portal
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: Identity integration
> Affects Versions: 3.6.0.Beta01
> Reporter: Trong Tran
> Assignee: Trong Tran
> Fix For: 3.6.0.Beta02
>
>
> In PicketLinkIDMOrganizationServiceImpl#endRequest, we could check if the transaction status is being active before doing a commit.
> Something like :
> {code}
> if (idmService_.getIdentitySession().getTransaction().isActive()) {
> idmService_.getIdentitySession().getTransaction().commit();
> }
> {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 gatein-issues
mailing list