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

XMLWordPrintable

    • MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
    • MOODLE_25_STABLE, MOODLE_26_STABLE
    • 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.
    • 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.

      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
      

            aolley Adam Olley
            mdikih Michael Wylde
            Ankit Agarwal Ankit Agarwal
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Rossiani Wijaya Rossiani Wijaya
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.