[CNTCTSAPP-36] ContactNameColumnFormatter throws exception Created: 22/Jan/13 Updated: 11/Oct/13 Resolved: 11/Oct/13 |
|
| Status: | Closed |
| Project: | Contacts App |
| Component/s: | None |
| Affects Version/s: | 1.0 |
| Fix Version/s: | 1.1.1 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Mikaël Geljić | Assignee: | Christopher Zimmermann |
| Resolution: | Duplicate | 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
|
| Date of First Response: |
| 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. |
| Comments |
| Comment by Christopher Zimmermann [ 26/Jun/13 ] |
|
Verify if still a problem |
| Comment by Eric Hechinger [ 11/Oct/13 ] |
|
solved by |