Uploaded image for project: 'ContentTypes Editor'
  1. ContentTypes Editor
  2. CTYPEEDIT-130

Overriding a content type without saving updates leads to an update in _override folder.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 1.3.0
    • Labels:
      None
    • Environment:
      4.4 M2

      Description

      How to reproduce : 

      • Open Content Type Editor
      • Open "Candidat" node (it is opened in the right panel) 
      • Select "Attributs/Commentaire" and click on "Attributs/Modifier". 
      • Pop-up is opened for update. Do nothing and click on "Terminate" button. 
      • Save updates in the ribbon

      =>  In WEB-INF/param/contenttypes/_override folder, a file is created for Candidat, and "Comment" field is seen as updated whereas it is not the case. 

       
      <?xml version="1.0" encoding="UTF-8"?><cms:content-type xmlns:cms="
      http://www.ametys.org/schema/cms
      ">
      <cms:metadata name="comment" multiple="false" type="string">
      <cms:label i18n="true">plugin.cms:PLUGINS_CMS_HIERARCHICAL_REFERENCE_TABLES_CANDIDATE_COMMENT_LABEL</cms:label>
      <cms:description i18n="true">plugin.cms:PLUGINS_CMS_HIERARCHICAL_REFERENCE_TABLES_CANDIDATE_COMMENT_LABEL</cms:description>
      <widget-params/>
      </cms:metadata>
      <cms:metadata-set name="main" type="view" internal="false">
      <cms:label i18n="false">main</cms:label>
      <cms:description i18n="false"/>
      <cms:metadata-ref name="comment"/>
      </cms:metadata-set>
      <cms:metadata-set name="creation" type="view" internal="false">
      <cms:label i18n="false">creation</cms:label>
      <cms:description i18n="false"/>
      <cms:metadata-ref name="comment"/>
      </cms:metadata-set>
      <cms:metadata-set name="details" type="view" internal="false">
      <cms:label i18n="false">details</cms:label>
      <cms:description i18n="false"/>
      <cms:metadata-ref name="comment"/>
      </cms:metadata-set>
      </cms:content-type>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mfranchet Magali Franchet
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: