Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-20107

Dashes in YAML semantic configuration hash keys are converted to underscores

    XMLWordPrintable

    Details

      Description

      This configuration:

      ezpublish.yml
      match:
          Map\Host:
              vm.ezpublish5-releasetest.admin: ezdemo_site_admin
              vm.ezpublish5-releasetest: ezdemo_site_user
              eng.1: eng
              ger.1: ger
              fre.1: fre
      

      Is converted into this map array:

      debug.php
      Array
      (
          [eng.1] => eng
          [ger.1] => ger
          [fre.1] => fre
          [vm.ezpublish5_releasetest.admin] => ezdemo_site_admin
          [vm.ezpublish5_releasetest] => ezdemo_site_user
      )
      

      the dashes in the siteaccess names are converted to underscores, and match does not work.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bertrand.dunogier@ez.no Bertrand Dunogier
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 hours
                  5h