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

YamlConfigurationSource wrongly resolves exported YAML app config

XMLWordPrintable

      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.

        Acceptance criteria

          1. config.modules.tours.apps.destinations.xml
            73 kB
            Viet Nguyen
          2. log.txt
            1 kB
            Viet Nguyen

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

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