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

Do not recover IDM transaction if exception occurs during a search.

    Details

    • Type: Task
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 3.7.0.Final
    • Fix Version/s: 3.9.0.Final
    • Component/s: None
    • Labels:
      None

      Description

      If user meets an exception during a search, it is not neccessary to recover transaction.

      Unit test

          @Test
          public void testFailDuringSearch() throws Exception {
            String USER = "test";
             createUser(USER);
             userHandler_.findUserByName(null);
             User user = userHandler_.findUserByName(USER);
             assertTrue("Not found user instance ", user != null);
             userHandler_.removeUser(USER, true);
          }
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                trong.tran Trong Tran
                Reporter:
                thanhtt Tran Trung Thanh
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: