Uploaded image for project: 'Magnolia Resources Module'
  1. Magnolia Resources Module
  2. MGNLRES-372

Validate hotfixes upon save

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Do
    • Neutral
    • None
    • 3.0.4
    • None
    • None

    Description

      When saving a definition file in the Resource Files app if the definition has problems I should be warned about those problems in a confirmation dialog when I click save. The app should not prevent me from saving it but instead confirm that I am aware of the issue.

      For example, I edit the dialog /mtk/dialogs/components/html.yaml to create this problem:
      Shown in the Definitions app

      Failed to parse YAML file: Scanner: mapping values are not allowed here in 'reader', line 7, column 14: fields: ^
      
      Title: Parsing configuration data from [/mtk/dialogs/components/html.yaml] failed
      Path: /
      

      When I click save the handler should determine if there are any problems with the dialog and ask me to confirm whether or not I'd really like to save it. But do not block me from saving it.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                rgange Richard Gange
                Nucleus
                Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD