Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: --Sprint 12/11, 6.1.0 CE RC1
    • Component/s: Wiki
    • Labels:
      None
    • Environment:
      All
    • Branch Version/s:
      6.0.x

      Description

      1. Create a wiki page
      2. Attempt to rename/move it

      18:55:45,889 ERROR [JDBCExceptionReporter:234] Duplicate entry '11224-11212-1' for key 'IX_2CD67C81'
      18:55:45,958 ERROR [render_portlet_jsp:154] com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
      at com.liferay.portal.service.persistence.impl.BasePersistenceImpl.processException(BasePersistenceImpl.java:190)
      at com.liferay.portlet.wiki.service.persistence.WikiPagePersistenceImpl.updateImpl(WikiPagePersistenceImpl.java:611)
      at com.liferay.portlet.wiki.service.persistence.WikiPagePersistenceImpl.updateImpl(WikiPagePersistenceImpl.java:1)
      at com.liferay.portal.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:254)
      at com.liferay.portlet.wiki.service.impl.WikiPageLocalServiceImpl.addPage(WikiPageLocalServiceImpl.java:148)
      at com.liferay.portlet.wiki.service.impl.WikiPageLocalServiceImpl.movePage(WikiPageLocalServiceImpl.java:1005)
      at com.liferay.portlet.wiki.service.impl.WikiPageLocalServiceImpl.movePage(WikiPageLocalServiceImpl.java:1039)
      at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:86)
      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:60)
      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:60)
      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:60)
      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:60)
      at com.liferay.portlet.wiki.service.impl.WikiPageServiceImpl.movePage(WikiPageServiceImpl.java:272)
      at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:86)
      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:60)
      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:60)
      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:60)
      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:60)
      at com.liferay.portlet.wiki.service.WikiPageServiceUtil.movePage(WikiPageServiceUtil.java:159)
      at com.liferay.portlet.wiki.action.MovePageAction.renamePage(MovePageAction.java:139)
      Caused by: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
      at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:30)
      at com.liferay.portal.dao.orm.hibernate.SessionImpl.flush(SessionImpl.java:118)
      at com.liferay.portal.kernel.dao.orm.ClassLoaderSession.flush(ClassLoaderSession.java:176)
      at com.liferay.portal.service.persistence.BatchSessionImpl.update(BatchSessionImpl.java:95)
      at com.liferay.portal.service.persistence.BatchSessionUtil.update(BatchSessionUtil.java:49)
      at com.liferay.portlet.wiki.service.persistence.WikiPagePersistenceImpl.updateImpl(WikiPagePersistenceImpl.java:606)
      at com.liferay.portlet.wiki.service.persistence.WikiPagePersistenceImpl.updateImpl(WikiPagePersistenceImpl.java:1)
      at com.liferay.portal.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:254)
      at com.liferay.portlet.wiki.service.impl.WikiPageLocalServiceImpl.addPage(WikiPageLocalServiceImpl.java:148)
      at com.liferay.portlet.wiki.service.impl.WikiPageLocalServiceImpl.movePage(WikiPageLocalServiceImpl.java:1005)
      at com.liferay.portlet.wiki.service.impl.WikiPageLocalServiceImpl.movePage(WikiPageLocalServiceImpl.java:1039)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              michael.saechang Michael Saechang
              Reporter:
              amos.fong Amos Fong
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                11 years, 8 weeks, 4 days ago

                  Packages

                  Version Package
                  --Sprint 12/11
                  6.1.0 CE RC1