Details
-
Bug
-
Resolution: Duplicate
-
Neutral
-
1.0
-
None
Description
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.
Checklists
Acceptance criteria