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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 1.15.0
    • None
    • None
    • 4.4 M2

      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>

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

              Created:
              Updated: