Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-18505

Static List Default choice is kept after choice deletion

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 12.10.5, 13.1
    • App Within Minutes
    • None
    • Unknown

    Description

      Expected Behaviour:

      When deleted, radio choices should not be available anymore even if set to default choice.

       

      Issue occurs when:

      • Create/Edit an AVM application (no matter the name)
      • In the structure part, add a Static List
      • Edit the list:
        • Set "Display Type" to "radio"
        • Apply changes to the Static List (check mark icon)
      • Select one of the choices available
      • Edit the list again
        • Remove every values
        • Add new values, for example:
          • Value: Pending - ID: 0
          • Value: Accepted - ID: 1
          • Value: Refused - ID: 2
      • Apply changes again

      NB: Easily observable if a choice is set as default and then every values are deleted.

      Attachments

        1. 01_initial_state_radio.png
          39 kB
          Guillaume COQUARD
        2. 02_apply_changes_after_deletion_and_added_values.png
          41 kB
          Guillaume COQUARD
        3. 03_static_list_settings_overview.png
          102 kB
          Guillaume COQUARD
        4. 04_no_more_values_but_default_still_here.png
          53 kB
          Guillaume COQUARD

        Activity

          People

            Unassigned Unassigned
            gcoquard Guillaume COQUARD
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: