ContactNameColumnFormatter throws exception
-------------------------------------------
Key: MGNLUI-598
URL: http://jira.magnolia-cms.com/browse/MGNLUI-598
Project: Magnolia UI
Issue Type: Bug
Security Level: Public
Affects Versions: 5.0 Alpha2 s012
Reporter: Mikael Geljic
Fix For: 5.0
If a contact has e.g. no first name defined, then ContactNameColumnFormatter
throws the following exception:
{{2013-01-22 14:33:04,291 WARN
.ui.app.contacts.column.ContactNameColumnFormatter: Unable to get name of
contact for column javax.jcr.PathNotFoundException: firstName}}
This issue occurred because currently when we create a contact, an "untitled"
node is immediately created, that is before validating and saving the form.
However such case could happen as well after e.g. importing contacts with some
missing names.
Therefore we should fix it anyway because a formatter shouldn't throw an
exception if a property is missing, it should just return blank.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------