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

Details

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

    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.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoD