-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.0 M3
-
Fix Version/s: 7.0.0 M2
-
Component/s: Documents & Media, External Document Repositories
-
Labels:
-
Story Points:8
-
Fix Priority:5
-
Git Pull Request:
Steps to reproduce:
1.Configure an external repository (Sharepoint, Alfresco, ..., any will do)
2.Try to add a new file
Failure:
The button to select the file to upload is shown disabled and the console log shows the following exception:
java.lang.NullPointerException
at com.liferay.portlet.documentlibrary.context.DefaultDLEditFileEntryDisplayContext._hasFolderWorkflowDefinitionLink(DefaultDLEditFileEntryDisplayContext.java:186)
at com.liferay.portlet.documentlibrary.context.DefaultDLEditFileEntryDisplayContext.getPublishButtonLabel(DefaultDLEditFileEntryDisplayContext.java:77)
at org.apache.jsp.html.portlet.document_005flibrary.edit_005ffile_005fentry_jsp._jspService(edit_005ffile_005fentry_jsp.java:2668)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:57)
at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:312)
at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:193)
at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:84)
at org.apache.jsp.html.common.themes.portlet_jsp._jspService(portlet_jsp.java:3857)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
at org.apache.jasper.servlet.JspServlet._serviceJspFile(JspServlet.java:390)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)