[MAGNOLIA-4635] NPE when empty title of a document is set Created: 31/Oct/12 Updated: 27/Nov/12 Resolved: 27/Nov/12 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | admininterface |
| Affects Version/s: | 4.5 |
| Fix Version/s: | 4.5.7 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Roman Kovařík | Assignee: | Roman Kovařík |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| 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 |
|
Steps to reproduce: |
| Comments |
| Comment by Jan Haderka [ 22/Nov/12 ] |
|
the comment in the test says: //THEN any exception occurs
but it should say //THEN no exception occurs shouldn't it? |
| Comment by Roman Kovařík [ 22/Nov/12 ] |
|
Agree. These lines were coincidentally removed/replaced when solving http://jira.magnolia-cms.com/browse/MGNLDMS-244 |
| Comment by Jan Haderka [ 26/Nov/12 ] |
+ verify(data).setAttribute(FileProperties.PROPERTY_FILENAME, "untitled");
But that is not right - if the name is not set explicitly via title, then the name of the node should be used as a file name. |
| Comment by Roman Kovařík [ 26/Nov/12 ] |
|
It will be fixed together with http://jira.magnolia-cms.com/browse/MGNLDMS-244 |