Details

    • Type: Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 6.2.1 CE GA2
    • Fix Version/s: 6.2.3 CE GA4
    • Component/s: Calendar
    • Labels:
      None

      Description

      First define permission on calendar level from calendar portlet and then give the same permission from "control panel > roles" it crashes in control panel gives error message "Roles is temporarily unavailable. "

      21:18:32,629 ERROR [JDBCExceptionReporter:82] Duplicate entry '10157-10184-com.liferay.calendar.model.Calendar-fb05d70019442a71' for key 'IX_AEEA209C'
      21:18:32,706 ERROR [render_portlet_jsp:132] null
      com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '10157-10184-com.liferay.calendar.model.Calendar-fb05d70019442a71' for key '
      IX_AEEA209C'
      at com.mysql.jdbc.Util.handleNewInstance(Util.java:408)
      at com.mysql.jdbc.Util.getInstance(Util.java:383)
      at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1049)
      at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4208)
      at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4140)
      at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2597)
      at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2758)
      at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2826)
      at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
      at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2334)
      at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1933)
      at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1388)
      at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(NewProxyPreparedStatement.java:1135)
      at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
      at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
      at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:114)
      at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:109)
      at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:244)
      at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2542)
      at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2495)

        Attachments

        1. 1.png
          1.png
          34 kB
        2. 2.png
          2.png
          37 kB
        3. 3 and 4.png
          3 and 4.png
          32 kB
        4. 5.png
          5.png
          23 kB
        5. 6.png
          6.png
          16 kB

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 1 day ago

                Packages

                Version Package
                6.2.3 CE GA4