Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-11848

Model items are no more merged on search

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 4.8.0
    • 4.8.0
    • None
    • None
    • 4.8.0 M7, 4.8.0 M9

      Steps to reproduce

      Create an extraction with a query with following result columns: myRepeater.fieldA, myRepeater.fieldB.
      XML results are structured like this:

      [...]
      <myRepeater entryCount="2">
          <entry name="1">
              <fieldA>My field A.1</fieldA>
          </entry>
          <entry name="2">
              <fieldA>My field A.2</fieldA>
          </entry>
      </myRepeater>
      <myRepeater entryCount="2">
          <entry name="1">
              <fieldB>My field B.1</fieldB>
          </entry>
          <entry name="2">
              <fieldB>My field B.2</fieldB>
          </entry>
      </myRepeater>
      [...]

      It should be (like in 4.7):

      [...]
      <myRepeater entryCount="2">
          <entry name="1">
              <fieldA>My field A.1</fieldA>
              <fieldB>My field B.1</fieldB>
          </entry>
          <entry name="2">
              <fieldA>My field A.2</fieldA>
              <fieldB>My field B.2</fieldB>
          </entry>
      </myRepeater>
      [...]

      Note: Same behaviour when selecting several fields of linked contents. I always reproduce this behaviour by calling a search from code for example.

            cbayle Caroline Bayle
            bmaurel Bérénice Maurel
            Caroline Bayle Caroline Bayle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: