Uploaded image for project: 'Magnolia DX Core'
  1. Magnolia DX Core
  2. MGNLEE-791

Locale not supported by REST content delivery module

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Neutral
    • None
    • None
    • None
    • None

    Description

      Steps to reproduce

      1. Create locale en_NO or en_PT for example in multisite configuration. Site is loaded correctly with correct locale.
      2. Call rest endpoint with lang=en_PT and I get back Bad Request: "error":  {"code": "badRequest","message": "Language parameter: en-PT is not allowed"}

      Expected results

      Rest delivery endpoint should check valid locales in multisite configuration instead of LocaleUtils

      Checklists

        Acceptance criteria

        Attachments

          1.
          Implementation Sub-task To Do Unassigned
          2.
          Review Sub-task To Do Unassigned
          3.
          Pre-Integration QA Sub-task To Do Unassigned
          4.
          QA Sub-task To Do Unassigned

          Activity

            People

              Unassigned Unassigned
              ereichenberger Eduard Lehel Reichenberger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Bug DoR
                  Task DoD