[MGNLUI-749] Null pointer when a page don't have a title Created: 01/Mar/13  Updated: 09/Jul/13  Resolved: 09/Jul/13

Status: Closed
Project: Magnolia UI
Component/s: page editor
Affects Version/s: 5.0
Fix Version/s: 5.0

Type: Bug Priority: Neutral
Reporter: Eric Hechinger Assignee: Eric Hechinger
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

Avoid when the title is not defined on a page. Set node name as default.

2013-03-01 07:47:05,030 ERROR nfo.magnolia.ui.app.pages.editor.PagesEditorSubApp: Exception caught: title
javax.jcr.PathNotFoundException: title
at org.apache.jackrabbit.core.NodeImpl$11.perform(NodeImpl.java:2249)
at org.apache.jackrabbit.core.NodeImpl$11.perform(NodeImpl.java:2236)
at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91)
at org.apache.jackrabbit.core.NodeImpl.getProperty(NodeImpl.java:2236)
at info.magnolia.jcr.wrapper.DelegateNodeWrapper.getProperty(DelegateNodeWrapper.java:239)
at info.magnolia.ui.app.pages.editor.PagesEditorSubApp.getPageTitle(PagesEditorSubApp.java:193)


Generated at Mon Feb 12 08:39:53 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.