Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-73547

Fail to change the review form of kaleo process

    Details

      Description

      Steps to reproduce

      1. Login as admin
      2. Go to Content > Kaleo Forms Admin > Plus button to add a new process.
        1. Details > Add the process name > Next
        2. Fields > Add a new field set with Text field and choose it > Next
        3. Workflow > Single Approver > Next
        4. Forms
          1. created > Assign Form > Plus button > Type Name, Save and choose it
          2. review > Assign Form > Plus button > Type Name Review1, Save and choose it
        5. Save
      3. Go to Content > Kaleo Forms Admin > Edit the new added process to change the form of review
        1. Edit the new added process
        2. Click Forms
        3. review > Assign Form > Plus button > Type Name Review2 > Save and choose it
        4. Save the process

      Expect Result
      The new process can be saved successfully

      Actually Result
      Fail to save the process with saying "Portlet is temporarily unavailable." and Console error.

      07:04:47,071 ERROR [http-nio-8080-exec-10][render_portlet_jsp:131] null
      com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '35293-review' for key 'IX_10E0E9D0'
              at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
              at com.mysql.jdbc.Util.getInstance(Util.java:386)
              at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1040)
              at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4120)
              at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4052)
              at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2503)
              at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2664)
              at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2794)
              at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
              at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2458)
              at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2006)
              at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1467)
              at com.zaxxer.hikari.pool.ProxyStatement.executeBatch(ProxyStatement.java:128)
              at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
              at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
              at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:268)
              at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:184)
              at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
              at com.liferay.portal.dao.orm.hibernate.event.NestableFlushEventListener.onFlush(NestableFlushEventListener.java:61)
              at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)
      

        Attachments

        1. Fixed.PNG
          Fixed.PNG
          44 kB
        2. Fixed70.PNG
          Fixed70.PNG
          62 kB

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 5 weeks, 6 days ago

                Packages

                Version Package
                7.0.0 DXP FP33
                7.0.0 DXP SP7
                7.0.5 CE GA6
                7.0.X
                7.1.X
                7.2.X
                Master