Uploaded image for project: 'Magnolia pages module'
  1. Magnolia pages module
  2. PAGES-406

Report template and dialog initialization problems via Pulse, Remove NPE in CreateComponentAction

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Workaround exists
    • Icon: Neutral Neutral
    • None
    • None
    • None
    • None

      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.

        Acceptance criteria

              Unassigned Unassigned
              runger Richard Unger
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD