[PAGES-406] Report template and dialog initialization problems via Pulse, Remove NPE in CreateComponentAction Created: 25/Apr/14 Updated: 11/Mar/21 Resolved: 11/Mar/21 |
|
| Status: | Closed |
| Project: | Magnolia pages module |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Richard Unger | Assignee: | Unassigned |
| Resolution: | Workaround exists | 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)
|
| Date of First Response: |
| Description |
|
Currently, if a template definition or dialog definition is misconfigured, an exception is logged. It would be really cool if these errors were also logged to pulse, visible to admins/superusers. This would help during development, at the moment you get weird errors (NPE in CreateComponentAction) for missing template definitions, but there is no direct hint as to what actually went wrong (template def wasn't loaded due to misconfiguration). It would also be helpful if CreateComponentAction would log the name of the template definition it couldn't load, and suppress the NPE. |
| Comments |
| Comment by Roman Kovařík [ 11/Mar/21 ] |
|
The definitions problems should be logged in the definitions app https://demo.magnolia-cms.com/.magnolia/admincentral#app:definitions-app:problems;templates~mtk[colon]pages/basic:: |