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

Clicking on document causes console error in Alfresco AtomPub

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.2.0 CE M3
    • Fix Version/s: 6.2.0 CE M3
    • Component/s: DM
    • Labels:
      None
    • Environment:
      Tomcat 7 + MySQL 5. Portal 6.2.x GIT ID: 9741331a07b220cba5079904f59267700dd06550.
      Tomcat 7 + MySQL 5. Portal 6.2.x GIT ID: f4e2ae1e7321b9c6f14003f0e681f5d03bee21e9.

      Description

      Clicking on document in documents and media in Alfresco AtomPub causes console error.

      1. Add DM portlet
      2. Add Alfresco AtomPub Repository
      3. Click into Alfresco AtomPub Repository
      4. Add .odt document
      5. Click into .odt document and the following stacktrace appears:
      00:22:42,628 ERROR [http-bio-8080-exec-2][IncludeTag:206] Current URL /web/guest/docs-and-media-test-page?p_p_auth=pPbycw4n&p_p_id=20&p_p_lifecycle=0&p_p_state=normal&p_p_mode=view&p_p_col_id=column-2&p_p_col_count=1&_20_struts_action=%2Fdocument_library%2Fview_file_entry&_20_redirect=http%3A%2F%2Fl
      ocalhost%3A8080%2Fweb%2Fguest%2Fdocs-and-media-test-page%3Fp_p_auth%3DpPbycw4n%26p_p_id%3D20%26p_p_lifecycle%3D0%26p_p_state%3Dnormal%26p_p_mode%3Dview%26p_p_col_id%3Dcolumn-2%26p_p_col_count%3D1%26_20_entryEnd%3D20%26_20_displayStyle%3D%26_20_viewEntries%3D1%26_20_viewFolders%3Dfalse%26_20_folderSt
      art%3D0%26_20_struts_action%3D%252Fdocument_library%252Fview%26_20_folderEnd%3D20%26_20_entryStart%3D0%26_20_folderId%3D10541&_20_fileEntryId=10568 generates exception: com.liferay.portal.InvalidRepositoryException: Repository 10540 does not support trash operations
      00:22:42,636 ERROR [http-bio-8080-exec-2][IncludeTag:154] com.liferay.portal.InvalidRepositoryException: Repository 10540 does not support trash operations
              at com.liferay.portlet.documentlibrary.trash.DLFileEntryTrashHandler.getDLFileEntry(DLFileEntryTrashHandler.java:247)
              at com.liferay.portlet.documentlibrary.trash.DLFileEntryTrashHandler.isInTrash(DLFileEntryTrashHandler.java:164)
              at com.liferay.portlet.trash.util.TrashImpl.isInTrash(TrashImpl.java:279)
              at com.liferay.portlet.trash.util.TrashUtil.isInTrash(TrashUtil.java:115)
              at org.apache.jsp.html.taglib.ui.discussion.page_jsp._jspService(page_jsp.java:1003)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
              at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:55)
              at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:292)
              at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:200)
              at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:81)
              at org.apache.jsp.html.portlet.document_005flibrary.view_005ffile_005fentry_jsp._jspService(view_005ffile_005fentry_jsp.java:2017)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
              at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:55)
              at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:292)
              at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:200)
              at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:81)
              at org.apache.jsp.html.common.themes.portlet_jsp._jspService(portlet_jsp.java:3829)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      

        Attachments

          Activity

            People

            • Assignee:
              torrey.schuhler Torrey Schuhler (Inactive)
              Reporter:
              torrey.schuhler Torrey Schuhler (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 4 days ago

                Packages

                Version Package
                6.2.0 CE M3