Uploaded image for project: 'GateIn Portal'
  1. GateIn Portal
  2. GTNPORTAL-2923

Check if the transaction status is being active before doing a commit

    Details

      Description

      In PicketLinkIDMOrganizationServiceImpl#endRequest, we could check if the transaction status is being active before doing a commit.

      Something like :

      if (idmService_.getIdentitySession().getTransaction().isActive()) {
          idmService_.getIdentitySession().getTransaction().commit();
      }
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                trong.tran Trong Tran
                Reporter:
                trong.tran Trong Tran
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: