Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-59819

Impossible to delete all tags from course module

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.3.1
    • Fix Version/s: None
    • Component/s: Tags
    • Labels:
      None
    • Affected Branches:
      MOODLE_33_STABLE

      Description

      It's impossible to delete all tags from course module, because mform doesn't submit empty value for tags param. In that case tags are not updated at all. Probably should be fixed by sending empty value by mform or in class MoodleQuickForm_tags function "exportValue" (lib/form/tags.php, line 245) by setting empty value if param was not submitted.

      How to reproduce:

      1. Add to course module 1+ tags
      2. Save
      3. Delete from course module all tags
      4. Save
      5. View course module to see that it still have tags, though it should not

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                evsoldatkin Evgeny Soldatkin
                Participants:
                Component watchers:
                Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: