Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-3004

group import screen should lock when button pressed

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 2.5.37
    • None
    • None
    • None

    Description

      @Shilen Patel I think the import screen doesnt tell the user its running, so they double or triple click and things get wonky, do you agree?  think there is a quick fix there?  i.e. lock the screen as soon as button pushed? (theres an api for that in jquery plugin, but I forget the name right now)

       2020-10-28 08:57:55,128: [ajp-nio-0.0.0.0-8009-exec-13] ERROR GrouperUtil.logErrorNextException(858) -  - Next exception
      org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "membership_uniq_idx"
        Detail: Key (owner_id, member_id, field_id)=(34d4509ca44f4fde9b7a2c5d138309c7, 4b2aafdfaf7b4843877f8981021f2a52, 525bb003-c4e2-4ebb-b8a4-e70995c32a1f) already exists.
              at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2477)
              at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2190)
              at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:472)
              at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:791)
              at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1563)
              at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(NewProxyPreparedStatement.java:2544)
              at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:110)
              at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:97)
              at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:147)
              at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.executeBatch(JdbcCoordinatorImpl.java:214)
              at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:611)
              at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:456)
              at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:337)
              at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:39)
              at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1282)
              at edu.internet2.middleware.grouper.hibernate.ByObject.save(ByObject.java:222)
              at edu.internet2.middleware.grouper.hibernate.ByObjectStatic$7.callback(ByObjectStatic.java:494)
              at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:703)
              at edu.internet2.middleware.grouper.hibernate.ByObjectStatic.save(ByObjectStatic.java:481)
              at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3MembershipDAO.save(Hib3MembershipDAO.java:2226)
              at edu.internet2.middleware.grouper.Membership.internal_addImmediateMembership(Membership.java:1289)
              at edu.internet2.middleware.grouper.Group$4.callback(Group.java:1608)
              at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:703)
              at edu.internet2.middleware.grouper.Group.internal_addMember(Group.java:1580)
              at edu.internet2.middleware.grouper.Group.internal_addMember(Group.java:1530)
              at edu.internet2.middleware.grouper.Group.addMember(Group.java:1111)
              at edu.internet2.middleware.grouper.Group.addMember(Group.java:1030)
              at edu.internet2.middleware.grouper.grouperUi.serviceLogic.UiV2GroupImport.groupImportSubmit(UiV2GroupImport.java:711)
      

      Attachments

        Activity

          People

            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: