Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-7186

YamlConfigurationSource wrongly resolves exported YAML app config

    XMLWordPrintable

Details

    Description

      YamlConfigurationSource wrongly resolves exported YAML app config, reference to log.txt for an example.
      Steps to reproduce:
      1. import destination app from XML file config.modules.tours.apps.destinations.xml to modules > tours > apps
      2. test it as it's working correctly
      3. export 'that' configuration into YAML
      4. remove JCR configuration, rename exported YAML file to destinations.yaml and put it to lightdev module under apps folder
      5. open the app and see the issue
      Work around:
      1. remove first line app name ('destinations' in this case)
      2. convert all 'extends' property to use our YAML 'inherit' mechanism
      Expected result:
      Work seamlessly w/o any modification or provide correct message to end user to fix the configuration.
      Suggestion:
      Upgrade YamlConfigurationSource.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              viet.nguyen Viet Nguyen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD

                  Time Tracking

                    Estimated:
                    Original Estimate - 1h
                    1h
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 1h
                    1h