Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
6.1.1 CE GA2, 6.2.X EE, 7.0.0 M3
-
Tomcat 7 + MySQL 5. Portal 6.2.x GIT ID: 039b4aaf09fdb517732b0734bdd3a6afdbe69085.
Tomcat 7 + MySQL 5. Portal 6.1.x GIT ID: 2913e2dcbe8481c52ea981085164f40ec9c0d564.
-
6.2.x
-
Committed
-
6
-
3
Description
Unable to copy web content that uses Small Image URL.
Steps to reproduce:
1. Create new web content
2. In Abstracts tab check the Use Small Image checkbox
3. Add Small Image URL, either from the Document Library, or from any other URL. DO NOT upload an image (that is very important)
4. Save the content
5. Go to Control Panel -> Web Content
6. Select action Copy on the web content which you have just created
7. Finish the copy process by clicking the Copy button when asked
Actual result:
There is an error on the page - Web Content is temporarily unavailable.
The web content is not copied.
In the logs there is exception:
16:18:55,936 ERROR [http-bio-8080-exec-48][render_portlet_jsp:154] java.lang.NullPointerException
at com.liferay.portlet.journal.service.impl.JournalArticleLocalServiceImpl.copyArticle(JournalArticleLocalServiceImpl.java:596)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:122)
at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
at com.liferay.portal.security.pacl.PACLAdvice.invoke(PACLAdvice.java:51)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
at com.liferay.portlet.journal.service.impl.JournalArticleServiceImpl.copyArticle(JournalArticleServiceImpl.java:112)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:122)
at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
Expected result:
The web content is copied successfully
Attachments
Issue Links
- relates
-
LPE-12926 Unable to copy web content that uses Small Image URL
-
- Closed
-