[MGNLDAM-528] Error when updating assets in DAM preventing the installation of Magnolia 5.3.5 Created: 09/Dec/14 Updated: 06/Jul/18 Resolved: 06/Jul/18 |
|
| Status: | Closed |
| Project: | Magnolia DAM Module |
| Component/s: | DAM App |
| Affects Version/s: | 2.0.5 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Gareth Williams | Assignee: | Unassigned |
| Resolution: | Duplicate | 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
|
||||||||
| Description |
|
When running the update tasks from Magnolia 5.2.x to Magnolia 5.3.5 the following error occurs Magnolia DAM App (version 2.0.5) This error stops the installation process. Upon restarting magnolia the following error occurs Magnolia DAM App (version 2.0.5) This prevents me from restarting magnolia. The root cause of this error is that the JCR has some deleted assets but the deletion has not yet been published. As a result the call to AssetNodeTypes.AssetResource.getResourceNodeFromAsset(asset) line 93 of UpdateDamAssetFileNamePropertiesTask returns null causing the null pointer. Some additional null checking is required in the UpdateDamAssetFileNamePropertiesTask. See stacktrace below. java.lang.NullPointerException |