Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-2826

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

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Neutral
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: pulse
    • Labels:
      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              runger Richard Unger
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: