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

Host-based mappings require a fallback toUri

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 5.5.8, 5.6
    • 5.5.6
    • Virtual URI mappings
    • None

      Since the Virtual URI mapping API extraction/revamp, HostBasedVirtualUriMapping now requires the toUri property to be configured, in order for the mapping to be considered "valid", and effectively work (same goes for the regex sub-class).

      Was not the case before we introduced the sanity-checks (#isValid method), which was also ported to the old/deprecated mappings.

      DefaultVirtualUriMapping mandates having both fromUri and toUri configured; this should be overridden for the host-based mappings, so that only fromUri is mandatory, and toUri is left optional.

        Acceptance criteria

          1. failbackIsNotConfigured.png
            36 kB
            Sang Ngo Huu
          2. listOfDomains.png
            35 kB
            Sang Ngo Huu
          3. problemTab.png
            61 kB
            Hieu Nguyen Duc

              hieu.nguyen Hieu Nguyen Duc
              mgeljic Mikaël Geljić
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

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