Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCU-1806

A note in REST docs about defining fallback themes for sites

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Neutral
    • None
    • 5.6, 5.7, 6.1, 6.2
    • None
    • None

    Description

      From slack docu room, 13 December 2018:

      Viet Nguyen [5:11 AM]
      @here we had a docs update request from proximus.com below, I'll try to describe it as 'clear' as possible and probably @mika could fix this by enhancing our fallback site definition or rest delivery-ep v2 somehow :notsureif:
      Recently we have people reporting similar issue when using our REST delivery endpoint for site related workspaces.
      The issue was:
      the fallback site don't have theme to resolve image variations - MGNLREST-194 or
      the fallback site was NOT extending main site configuration then the language filter is not working - SUPPORT-9407

      --> The common point here is that site resolver didn't recognize the request so that it can use correct i18n supported node wrapper.

      --> even though this is a usage issue but definitely we're making it difficult for customers to use it and they're making mistakes, let's find a way to make it easy by noting on Docs or implement it somehow

      then somewhere on this page:
      https://documentation.magnolia-cms.com/display/DOCS60/Delivery+endpoint+API+v2

       

      Something in Mercedes' wording:

      • "When lang=all is used all the languages are returned, in case of lang=fr the site definition is taken into account, and as there is no configuration available the default language is returned in the request, that is English."

      or Theodossios' : 

      • "REST calls not belonging to any site and therefore being served following the fallback site rules."

       

      Consult maybe mgeljic for the final wording of the note / infobox.

       

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                akhamis Ashraf Khamis
                mdrapela Martin Drápela
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoR