PUBLIC - Liferay Faces
  1. PUBLIC - Liferay Faces
  2. FACES-1180

Adding a document causes error "No RepositoryEntry exists with the primary key" in the icefaces3-documents-portlet with Liferay 6.1

    Details

    • Similar Issues:
      Show 4 results 

      Description

      This is possible a bug in the Liferay 6.1 DLFileEntryServiceUtil.addFileEntry(...) method but need to investigate further.

      Here's an abbreviated stacktrace:

      15:25:33,809 ERROR [DocUploadBackingBean:172] No RepositoryEntry exists with the primary key 12502
      com.liferay.portal.NoSuchRepositoryEntryException: No RepositoryEntry exists with the primary key 12502
      at com.liferay.portal.service.persistence.RepositoryEntryPersistenceImpl.findByPrimaryKey(RepositoryEntryPersistenceImpl.java:546)
      at com.liferay.portal.service.impl.RepositoryLocalServiceImpl.createRepositoryImpl(RepositoryLocalServiceImpl.java:347)
      at com.liferay.portal.service.impl.RepositoryLocalServiceImpl.getLocalRepositoryImpl(RepositoryLocalServiceImpl.java:216)
      [...]
      at com.liferay.portlet.documentlibrary.service.impl.DLAppLocalServiceImpl.getLocalRepository(DLAppLocalServiceImpl.java:1636)
      at com.liferay.portlet.documentlibrary.service.impl.DLAppLocalServiceImpl.getFolder(DLAppLocalServiceImpl.java:735)
      [...]
      at com.liferay.portlet.documentlibrary.service.DLAppLocalServiceUtil.getFolder(DLAppLocalServiceUtil.java:633)
      at com.liferay.portlet.documentlibrary.service.permission.DLFolderPermission.contains(DLFolderPermission.java:162)
      at com.liferay.portlet.documentlibrary.service.permission.DLFolderPermission.check(DLFolderPermission.java:61)
      at com.liferay.portlet.documentlibrary.service.impl.DLFileEntryServiceImpl.addFileEntry(DLFileEntryServiceImpl.java:59)
      [...]
      at com.liferay.portlet.documentlibrary.service.DLFileEntryServiceUtil.addFileEntry(DLFileEntryServiceUtil.java:51)
      at com.liferay.faces.demos.bean.DocUploadBackingBean.uploadAttachments(DocUploadBackingBean.java:134)

        Activity

        Hide
        Neil Griffin added a comment -

        In my testing of Liferay Faces 3.1.0-RC1, I don't see this error anymore, but I don't see the document in the folder either.

        Show
        Neil Griffin added a comment - In my testing of Liferay Faces 3.1.0-RC1, I don't see this error anymore, but I don't see the document in the folder either.

          People

          • Assignee:
            Neil Griffin
            Reporter:
            Neil Griffin
            Participants of an Issue:
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development

                Subcomponents

                  Structure Helper Panel