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

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

XMLWordPrintable

    • 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"
              }
      

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

              Created:
              Updated:
              Resolved: