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

Book revision number not updated on edit chapter content

    XMLWordPrintable

Details

    • MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • wip-MDL-40091-master
    • Hide

      Test 1:
      1 - Locate an existing book resource or create one.
      2 - Note down the course module id from the url: /mod/book/view.php?id=[cmid]
      3 - Connect to the database and execute the following query: select b.* from mdl_course_modules m inner join mdl_book b on b.id = m.instance where module = 3 and m.id = [cmid]
      4 - Note down the value of the column "revision".
      5 - Turn editing on and edit the content or the title of any chapter in the book resource.
      6 - Save your changes and execute the query in step 3.
      7 - The expected result, revision number incremented by one.

      Show
      Test 1: 1 - Locate an existing book resource or create one. 2 - Note down the course module id from the url: /mod/book/view.php?id= [cmid] 3 - Connect to the database and execute the following query: select b.* from mdl_course_modules m inner join mdl_book b on b.id = m.instance where module = 3 and m.id = [cmid] 4 - Note down the value of the column "revision". 5 - Turn editing on and edit the content or the title of any chapter in the book resource. 6 - Save your changes and execute the query in step 3. 7 - The expected result, revision number incremented by one.

    Description

      The revision number does not change when editing a chapter in an existing book resource. However the revision number do change for the following actions:

      • Adding a new chapter.
      • Removing an existing chapter.
      • Hide/Un-hide an existing chapter.
      • Updating the book general information.

      Attachments

        Activity

          People

            danmarsden Dan Marsden
            mohamed.alsharaf Mohamed Alsharaf
            Adrian Greeve Adrian Greeve
            Sam Hemelryk Sam Hemelryk
            Michael de Raadt Michael de Raadt
            David Jones, Jake Dallimore, Mathew May, Mihail Geshoski
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8/Jul/13