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

[ContentGenerator] Merge attributes when they appears several times in a view

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 4.5.0
    • 4.4.0
    • None
    • None
    • 4.5 M1

      Due to CMS-10640, attribute-ref in a view can be called several times. But, when we sax the view, we have attributes like this:

      <formationReference typeId="content" multiple="false" id="content://995eac75-a25a-422e-84a9-b8c058deaa77" name="classe-de-1re-generale-3" title="1ERE Classe de 1re g&eacute;n&eacute;rale" language="fr" createdAt="2020-06-06T07:48:03.904Z" creator="system-user" lastModifiedAt="2021-01-05T11:11:53.298Z"/>
      <formationReference typeId="content" multiple="false" id="content://995eac75-a25a-422e-84a9-b8c058deaa77" name="classe-de-1re-generale-3" title="1ERE Classe de 1re g&eacute;n&eacute;rale" language="fr" createdAt="2020-06-06T07:48:03.904Z" creator="system-user" lastModifiedAt="2021-01-05T11:11:53.298Z">
      	<niveauSortie typeId="content" multiple="true" id="content://efcd8566-0775-422a-bd95-b0ba5e359a11" name="ere" title="1ERE" language="fr" createdAt="2020-06-06T00:23:05.828Z" creator="system-user" lastModifiedAt="2020-06-06T00:23:05.869Z">
      		<libelleEditable typeId="string" multiple="false">1ERE</libelleEditable>
      	</niveauSortie>
      	<niveauCertification typeId="content" multiple="false" id="content://f92ed760-4066-41eb-9071-d11a8eac89ee" name="niveau-4-bac-ou-equivalent" title="niveau 4 (bac ou &eacute;quivalent)" language="fr" createdAt="2020-06-06T00:01:41.032Z" creator="system-user" lastModifiedAt="2020-06-06T00:01:41.076Z">
      		<libelleEditable typeId="string" multiple="false">niveau 4 (bac ou &eacute;quivalent)</libelleEditable>
      	</niveauCertification>
      </formationReference>
      [...]
      <formationReference typeId="content" multiple="false" id="content://995eac75-a25a-422e-84a9-b8c058deaa77" name="classe-de-1re-generale-3" title="1ERE Classe de 1re g&eacute;n&eacute;rale" language="fr" createdAt="2020-06-06T07:48:03.904Z" creator="system-user" lastModifiedAt="2021-01-05T11:11:53.298Z">
      	<descriptifFormatCourt typeId="rich-text" multiple="false" mime-type="application/xml" lastModified="2021-01-05T11:11:53.284Z" encoding="UTF-8"/>
      	<typeFormation xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns="http://www.w3.org/1999/xhtml" typeId="content" multiple="false" id="content://c8506ed0-df66-4d05-b579-49217a1cc217" name="classe-de-1re-generale" title="1&egrave;re g&eacute;n&eacute;" language="fr" createdAt="2020-06-06T07:39:50.281Z" creator="system-user" lastModifiedAt="2020-06-10T10:28:03.197Z">
      		<descriptifFormatCourt typeId="rich-text" multiple="false" mime-type="application/xml" lastModified="2020-06-06T07:39:50.319Z" encoding="UTF-8"/>
      	</typeFormation>
      </formationReference>
      <formationReference typeId="content" multiple="false" id="content://995eac75-a25a-422e-84a9-b8c058deaa77" name="classe-de-1re-generale-3" title="1ERE Classe de 1re g&eacute;n&eacute;rale" language="fr" createdAt="2020-06-06T07:48:03.904Z" creator="system-user" lastModifiedAt="2021-01-05T11:11:53.298Z"/>

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

              Created:
              Updated:
              Resolved: