Uploaded image for project: 'apiman (API Management)'
  1. apiman (API Management)
  2. APIMAN-365

Exception raised in the UI if a user is inadvertently added to the same organization twice

XMLWordPrintable

      See the attached screenshot - the (unsurprising) exception is:

      org.h2.jdbc.JdbcSQLException: Unique index or primary key violation: "UK_FWY6C61BCNVSHCSXUBANJVI08_INDEX_D ON PUBLIC.MEMBERSHIPS(USER_ID, ROLE_ID, ORG_ID) VALUES ( /* key:34 */ null, null, 'TestOrg', 'ServiceDeveloper', 'servprov')"; SQL statement:
      insert into memberships (createdOn, org_id, role_id, user_id, id) values (?, ?, ?, ?, ?) [23505-173]
      

            ewittman@redhat.com Eric Wittmann
            ldimaggi@redhat.com Len DiMaggio
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: