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

Book revision number not updated on edit chapter content

    XMLWordPrintable

    Details

    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      wip-MDL-40091-master

      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

            Assignee:
            danmarsden Dan Marsden
            Reporter:
            mohamed.alsharaf Mohamed Alsharaf
            Peer reviewer:
            Adrian Greeve
            Integrator:
            Sam Hemelryk
            Tester:
            Michael de Raadt
            Participants:
            Component watchers:
            David Jones, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              8/Jul/13