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

Inline editing for title doesn't update timemodified field of module instance

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 3.0.2
    • Course, Global search
    • MOODLE_30_STABLE

      Steps to reproduce;

      1. Create a page resource and add to a course
      2. Verify the timemodified field in db

        pm> select name, timemodified from mdl_page;
        +--------+----------------+
        | name   |   timemodified |
        |--------+----------------|
        | test   |     1456997512 |
        +--------+----------------+
        SELECT 1
        Time: 0.001s
        

      3. Use inline editing feature to rename the page from course page:
      4. Verify if timemodified has been updated

        pm> select name, timemodified from mdl_page;
        +---------+----------------+
        | name    |   timemodified |
        |---------+----------------|
        | test 33 |     1456997512 |
        +---------+----------------+
        SELECT 1
        Time: 0.001s
        pm> 
        

      EXPECTED RESULTS:
      Timemodified updated at same time as title updated

      ACTUAL RESULTS:
      Timemodified is left unmodified

      Further info - this will mean that activites are not reindexed when titles edited thius way in global search.

            Unassigned Unassigned
            poltawski Dan Poltawski
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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