[MGNLCAT-125] Page referencing a removed category causes NullPointerException when trying to save on intro dialog Created: 19/Dec/13 Updated: 02/Oct/23 Resolved: 02/Oct/23 |
|
| Status: | Closed |
| Project: | Magnolia Categorization Module |
| Component/s: | None |
| Affects Version/s: | 1.2.8 |
| Fix Version/s: | 1.2.x |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Nils Breunese | Assignee: | Unassigned |
| Resolution: | Obsolete | Votes: | 0 |
| Labels: | vpro | ||
| 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: | |
| Visible to: |
Mathijn Elhorst, Rico Jansen
|
| Team: |
| Description |
|
After pressing save in the intro dialog of a page the dialog turned into a blank page and didn't close. The log showed:
ERROR info.magnolia.cms.servlets.MVCServletHandlerImpl 19.12.2013 13:43:06 -- can't call command: save
java.lang.NullPointerException
at info.magnolia.module.categorization.controls.CategorizationSaveHandler.processMultiple(CategorizationSaveHandler.java:90)
at info.magnolia.module.categorization.controls.CategorizationSaveHandler.save(CategorizationSaveHandler.java:113)
at info.magnolia.module.admininterface.SaveHandlerImpl.processSaveInfo(SaveHandlerImpl.java:350)
at info.magnolia.module.admininterface.SaveHandlerImpl.save(SaveHandlerImpl.java:234)
at info.magnolia.module.admininterface.DialogMVCHandler.onSave(DialogMVCHandler.java:354)
at info.magnolia.module.admininterface.DialogMVCHandler.save(DialogMVCHandler.java:236)
(...)
Checking the category tab of the dialog I found there was a reference to a category that did not exist (anymore?), which showed a UUID instead of a category path. It would be nice if this situation did not cause a NPE, but would be handled more gracefully. |
| Comments |
| Comment by Jaroslav Simak [ 10/Jan/14 ] |
|
This should not be a problem in 5.x but still, it would be good to verify. |
| Comment by Laura Delnevo [ 02/Oct/23 ] |
|
Hello, This ticket is now marked as closed due to one of the following reasons:
If you are still facing a problem or consider this issue still relevant, please feel free to re-open the ticket and we will reach out to you. Thank you, The Magnolia Team |