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

File entry detailed preview page for entries in CMIS repository unconsistent

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: 6.1.0 CE RC1
    • Fix Version/s: --Sprint 11/12, 6.2.0 CE M2
    • Component/s: Documents & Media
    • Labels:
      None
    • Environment:
      Alfresco 4.0, tomcat 7.0.22, mysql 5.1.x

      Description

      First create CMIS repository REPO01 using this http://www.liferay.com/community/wiki/-/wiki/Main/How+to+Configure+CMIS+Repository+Using+Alfresco+4.0

      1. go to Control panel
      2. go to document and media
      3. add an document docB to an regular location
      4. click REPO01
      5. click GuestHome folder
      6. add an document docA and an Image imgA to GuestHome folder
      7. edit docA by setting asset link to docB
      8. publish
      9. click to docA
      Preview page doesn't provide any large thumbnails or previews nor history nor linked assets (see screenshot)

      NOTE: If you add documents from alfresco - there is no this issue!

      Also there is console error:

      15:17:39,915 ERROR [IncludeTag:426] Current URL /group/control_panel/manage?p_p_id=20&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&doAsGroupId=10400&refererPlid=10169&_20_struts_action=%2Fdocument_library%2Fview_file_entry&_20_redirect=http%3A%2F%2Flocalhost%3A8080%2Fgroup%2Fcontrol_panel%2Fmanage%3Fp_p_id%3D20%26p_p_lifecycle%3D0%26p_p_state%3Dmaximized%26p_p_mode%3Dview%26doAsGroupId%3D10400%26refererPlid%3D10169%26_20_viewFileEntrySearch%3D1%26_20_viewEntries%3D1%26_20_viewFolders%3D1%26_20_viewBreadcrumb%3D1%26_20_folderStart%3D0%26_20_refreshFolders%3Dtrue%26_20_folderEnd%3D20%26_20_showSiblings%3D1%26_20_entryStart%3D0%26_20_folderId%3D10616%26_20_entryEnd%3D20%26_20_displayStyle%3Dicon%26_20_refererPlid%3D10169%26_20_action%3DbrowseFolder%26_20_viewDisplayStyleButtons%3D1%26_20_struts_action%3D%252Fdocument_library%252Fview%26_20_doAsGroupId%3D10400%26_20_viewAddButton%3D1%26_20_viewSortButton%3D1%26_20_showSiblings%3Dtrue&_20_fileEntryId=10662 generates exception: An exception occurred processing JSP page /html/portlet/document_library/view_file_entry.jsp at line 252

      249:
      250: <c:if test="<%= enableRelatedAssets %>">
      251: <div class="entry-links">
      252: <liferay-ui:asset-links
      253: assetEntryId="<%= layoutAssetEntry.getEntryId() %>"
      254: />
      255: </div>

      Stacktrace:
      15:17:39,938 ERROR [IncludeTag:154] java.lang.NullPointerException
      at org.apache.jsp.html.portlet.document_005flibrary.view_005ffile_005fentry_jsp._jspService(view_005ffile_005fentry_jsp.java:1424)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:433)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  7 years, 19 weeks ago

                  Packages

                  Version Package
                  --Sprint 11/12
                  6.2.0 CE M2