-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.2.0 CE M3
-
Fix Version/s: 6.2.0 CE M3
-
Component/s: Web Content > Web Content Administration
-
Labels:
-
Environment:Tomcat 7.0.27 + MySQL 5. Portal 6.2.x GIT ID: f4e2ae1e7321b9c6f14003f0e681f5d03bee21e9.
-
Fix Priority:4
-
Git Pull Request:
The Web Content editor loses the structure when the article is saved as a draft or is published.
Steps to Reproduce:
- Add a structure
- Add a basic web content
- Select the structure (instead of Default)
- Publish (or Save as Draft)
- Edit the web content article
- When the user re-enters the editor, the structure has reverted back to Default and all the previous structure data values are lost
- If the user then re-selects the structure within the editor, a console NPE occurs:
23:27:54,809 ERROR [http-bio-8080-exec-7][IncludeTag:206] Current URL /group/control_panel/manage?p_auth=2XFQyzcY&p_p_id=15&p_p_lifecycle=1&p_p_state=maximized&p_p_mode=view&doAsGroupId=19&refererPlid=10167&_15_struts_action=%2Fjournal%2Fedit_article generates exception: null
23:27:54,812 ERROR [http-bio-8080-exec-7][IncludeTag:154] java.lang.NullPointerException
at com.liferay.portlet.dynamicdatamapping.util.DDMXSDImpl.getFieldHTML(DDMXSDImpl.java:134)
at com.liferay.portlet.dynamicdatamapping.util.DDMXSDImpl.getHTML(DDMXSDImpl.java:236)
at com.liferay.portlet.dynamicdatamapping.util.DDMXSDImpl.getHTML(DDMXSDImpl.java:282)
at com.liferay.portlet.dynamicdatamapping.util.DDMXSDImpl.getHTML(DDMXSDImpl.java:263)
at com.liferay.portlet.dynamicdatamapping.util.DDMXSDUtil.getHTML(DDMXSDUtil.java:93)
at org.apache.jsp.html.taglib.ddm.html.start_jsp._jspService(start_jsp.java:546)
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.doStartTag(IncludeTag.java:121)
at com.liferay.taglib.ddm.base.BaseHTMLTag.doStartTag(BaseHTMLTag.java:30)
at org.apache.jsp.html.portlet.journal.article.content_jsp._jspService(content_jsp.java:2687)
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)
- causes
-
LPS-33244 Changing between Structures before save the article causes an exception
- Closed
- relates
-
LPS-29347 NPE when changing a web content from basic to structured
- Closed
-
LPS-31502 Unable to Switch Back to Default Structure When First Creating Basic Web Content Then Selecting a Structure
- Closed
-
LPS-31594 'Save as Draft' Does Not Save Web Content and Attempts to Publish
- Closed
- Testing discovered
-
LPS-30961 As a WCM Administrator, I will be able to create and edit structures and templates using the new editors from Dynamic Data Mapping (DDM)
-
- Closed
-