Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-3363

Error of the character # in the name of a group in the string method of the group widget

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.2.11, 4.3.0
    • 4.2.6
    • Général
    • None
    • 4.3 RC1

      How to reproduce

      • Insert alert content or another type of content where there is a group type field (see screen)
      • Select a group in the drop-down list which exclaims in this way #nomdugroupe

      Observed behavior
      The insert group works well when recording, but it disappears when it is modified.
      The user must inform the group again.

          [RUNTIME-3363] Error of the character # in the name of a group in the string method of the group widget

          Functional testing:

          Adding

                  <cms:metadata name="group" type="string">
                      <cms:label>Group</cms:label>
                      <cms:description>Group</cms:description>
                      <widget>edition.group</widget>
                  </cms:metadata>
                 
                  <cms:metadata name="groupmult" type="string" multiple="true">
                      <cms:label>Group multiple</cms:label>
                      <cms:description>Group multiple</cms:description>
                      <widget>edition.group</widget>
                  </cms:metadata>
          
                  <cms:metadata name="user" type="user">
                      <cms:label>User</cms:label>
                      <cms:description>User</cms:description>
                  </cms:metadata>
                  
                  <cms:metadata name="usermult" type="user" multiple="true">
                      <cms:label>User multiple</cms:label>
                      <cms:description>User multiple</cms:description>
                  </cms:metadata>
          

          in a content type, plus the references in 'edition' metadataset

          For having a group with a '#' in its id, use a 'static' group directory with the following configuration:

          group1:Groupe 1:user1#users:user2#users
          #diese:Groupe #avec diese:user1#users
          
          • Edit a content, select value(s) for those attributes
          • Save, check it is well set
          • Re-edit, check if the widgets display well the value(s)
          • Change the 'group' and 'groupmult' values for a group with a '#' character in its id
          • Save, check it is well set
          • Re-edit, check if the widgets display well the value(s)

          Simon Prieul (Inactive) added a comment - Functional testing: Adding <cms:metadata name= "group" type= "string" > <cms:label> Group </cms:label> <cms:description> Group </cms:description> <widget> edition.group </widget> </cms:metadata> <cms:metadata name= "groupmult" type= "string" multiple= "true" > <cms:label> Group multiple </cms:label> <cms:description> Group multiple </cms:description> <widget> edition.group </widget> </cms:metadata> <cms:metadata name= "user" type= "user" > <cms:label> User </cms:label> <cms:description> User </cms:description> </cms:metadata> <cms:metadata name= "usermult" type= "user" multiple= "true" > <cms:label> User multiple </cms:label> <cms:description> User multiple </cms:description> </cms:metadata> in a content type, plus the references in 'edition' metadataset For having a group with a '#' in its id, use a 'static' group directory with the following configuration: group1:Groupe 1:user1#users:user2#users #diese:Groupe #avec diese:user1#users Edit a content, select value(s) for those attributes Save, check it is well set Re-edit, check if the widgets display well the value(s) Change the 'group' and 'groupmult' values for a group with a '#' character in its id Save, check it is well set Re-edit, check if the widgets display well the value(s)

            laurence Laurence Aumeunier
            afrancois Anastasia François
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: