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

When editing a wiki page the default value for the tags is not being populated correctly

    Details

    • Testing Instructions:
      Hide

      1. Create a wiki activity
      2. Add a wiki page with some tags. Save. Tags are shown.
      3. Edit the wiki page and confirm that the tags that were initially entered are in the text box.

      Show
      1. Create a wiki activity 2. Add a wiki page with some tags. Save. Tags are shown. 3. Edit the wiki page and confirm that the tags that were initially entered are in the text box.
    • Workaround:
      Hide

      1. Re-enter the tags each time that the wiki page is edited.

      Show
      1. Re-enter the tags each time that the wiki page is edited.
    • Affected Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      When editing a wiki page the default value for the tags input box is empty even if there are tags. Saving the page will cause the tags to be deleted.

      Replication steps:

      1. Log in as teacher/admin.
      2. Create a Wiki activity.
      3. Add an initial page including multiple "Other" tags, separated by commas.
      4. Save the page.
      5. Click "Edit" in the tabs at the top.

      Expected result: The previously added tags should appear in the editing form.

      Actual result: No tags appear and the following error appears for each missing tag...

      Warning: Invalid argument supplied for foreach() in D:\xampp\htdocs\master_integration\lib\form\tags.php on line 216
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    10/Mar/14