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

Error when editing a content value from a result grid

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.3.0
    • None
    • None
    • None

      How to reproduce

      • On a ODF project I do a solr search on program contents, with the result column title and place
      • "place" is a content metadata (reference table)
      • I try to edit the place of the returned programs

      I have the following error

      class java.util.ArrayList cannot be cast to class java.lang.String (java.util.ArrayList and java.lang.String are in module java.base of loader 'bootstrap')
      java.lang.ClassCastException: class java.util.ArrayList cannot be cast to class java.lang.String (java.util.ArrayList and java.lang.String are in module java.base of loader 'bootstrap')
          at org.ametys.cms.workflow.EditContentFunction._bindAndValidateContentReferenceMetadata(EditContentFunction.java:2264)
          at org.ametys.cms.workflow.EditContentFunction._bindAndValidateMetadata(EditContentFunction.java:861)
          at org.ametys.cms.workflow.EditContentFunction._bindAndValidateMetadataSetElement(EditContentFunction.java:633)
          at org.ametys.cms.workflow.EditContentFunction._bindAndValidateContent(EditContentFunction.java:583)
      

          [CMS-10167] Error when editing a content value from a result grid

          Laurence Aumeunier made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Laurence Aumeunier made changes -
          Fix Version/s New: 4.3.0 [ 14678 ]
          Resolution New: Fixed [ 1 ]
          Sprint Original: 4.3 M6 [ 38 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Laurence Aumeunier made changes -
          Link New: This issue duplicates CMS-9813 [ CMS-9813 ]
          Laurence Aumeunier created issue -

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

              Created:
              Updated:
              Resolved: