Uploaded image for project: 'Magnolia REST Framework'
  1. Magnolia REST Framework
  2. MGNLREST-318

Rest Calls To Nested Multivalue Composite Fields Return Empty

XMLWordPrintable

    • HL & LD 35, HL & LD 36
    • 5

      Using the delivery endpoint with nested multi composite fields and i18n returns empty lists.

      The rest endpoint logic that is used to pick up the proper i18n values from the JCR when specifying a language filter in the rest call is looking for the wrong node names. As a result, an empty list is returned with the call although there are items with i18n in the JCR.  

      When using the “all” lang parameter, the node will be returned as <nodename>_<language> i.e “testnode_de” but when you specify a language such as lang=de , then the parent node gets seen as <nodename> i.e. “testnode”, so it does not detect any of the other language’s child nodes from the parent. 

      Please see screenshot for rest results.

       

        Acceptance criteria

              jsimak Jaroslav Simak
              jnodarse Julian Nodarse
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD