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

Richtext into a repeater are lost when editing the repeater from a search tool

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.3.0
    • None
    • None
    • None
    • 4.3 RC4

      How to reproduce

      • Create a FAQ content and add some questions/answers
      • Open a Solr search tool
      • Do a search on FAQ, with column "title" and "questions"
      • Click on repeater entry to edit then and save the modifications

      The "answer" field (richtext) of each entry is lost.

      The JSON sent to server is :

      {
                  "content.input.questions.1.question": "Qu'est-ce que le CMS Ametys ?",
                  "content.input.questions.1.answer": "{\"mime-type\":\"application/xml\",\"size\":217,\"lastModified\":\"2020-04-30T17:21:24.000+02:00\",\"type\":\"metadata\",\"content\":\"R\u00e9ponse 1\"}",
                  "content.input.questions.1.link": "http://www.ametys.org",
                  "content.input.questions.2.question": "Salut, ca va bien ?",
                  "content.input.questions.2.answer": "{\"mime-type\":\"application/xml\",\"size\":217,\"lastModified\":\"2020-04-30T17:21:24.000+02:00\",\"type\":\"metadata\",\"content\":\"R\u00e9ponse 2\"}",
                  "content.input.questions.3.question": "Quels sont les atouts du CMS Ametys ?",
                  "content.input.questions.3.answer": "{\"mime-type\":\"application/xml\",\"size\":217,\"lastModified\":\"2020-04-30T17:21:24.000+02:00\",\"type\":\"metadata\",\"content\":\"R\u00e9ponse 3\"}",
                  "content.input.questions.3.link": "http://www.google.fr",
                  "content.input.questions.4.question": "A qui s'adresse la solution Ametys ?",
                  "content.input.questions.4.answer": "{\"mime-type\":\"application/xml\",\"size\":217,\"lastModified\":\"2020-04-30T17:21:24.000+02:00\",\"type\":\"metadata\",\"content\":\"R\u00e9ponse 4\"}",
                  "_content.input.questions.size": "4"
              }
      

          [CMS-10362] Richtext into a repeater are lost when editing the repeater from a search tool

          Laurence Aumeunier made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Laurence Aumeunier made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Functional review OK [ 10207 ] New: Resolved [ 5 ]
          Cédric Damioli made changes -
          Assignee New: Laurence Aumeunier [ laurence ]
          Magali Franchet made changes -
          Assignee Original: Magali Franchet [ mfranchet ]
          Magali Franchet made changes -
          Status Original: Available for review [ 10005 ] New: Functional review OK [ 10207 ]
          Magali Franchet made changes -
          Assignee New: Magali Franchet [ mfranchet ]
          Laurence Aumeunier made changes -
          Assignee Original: Laurence Aumeunier [ laurence ]
          Laurence Aumeunier made changes -
          Status Original: In Progress [ 3 ] New: Available for review [ 10005 ]
          Laurence Aumeunier made changes -
          Link New: This issue Référence CMS-10364 [ CMS-10364 ]
          Laurence Aumeunier made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

            laurence Laurence Aumeunier
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: