Moodle
  1. Moodle
  2. MDL-12649

Blog, Core module: promotes past posts to current datestamp on editing. It should keep the original chronological position.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9.3
    • Component/s: Blog
    • Labels:
      None
    • Environment:
      apache / mysql / php 5
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE
    • Rank:
      29725

      Description

      Moodle 1.9 beta
      When I edit an entry for a past date, the post gets promoted to todays entry. That's not right, as the rest of the posts run chronologically. Editing a post should not change the date stamp and keep entries in their original post order.

      So, we need to keep posts in their chronological positions, even when edited at a later point in time, unless we introduce a way to set a post date manually. This would be the ideal. Example

      1- Default state: edit a post = no change in chronological position. It remains in true date order according to its original entry date and time.
      2- Optional: Enter a new date and time to reposition the post manually to any chronological position.

        Issue Links

          Activity

          Hide
          Helen Foster added a comment -

          Forum discussion about this problem: http://moodle.org/mod/forum/discuss.php?d=86401

          Show
          Helen Foster added a comment - Forum discussion about this problem: http://moodle.org/mod/forum/discuss.php?d=86401
          Hide
          Dan Poltawski added a comment -

          Here is a proof-of-concept patch which stops the editing from changing the order of entries and stops the timestamp update, but adds an additional Edited time footer if post is edited.

          Show
          Dan Poltawski added a comment - Here is a proof-of-concept patch which stops the editing from changing the order of entries and stops the timestamp update, but adds an additional Edited time footer if post is edited.
          Hide
          Eloy Lafuente (stronk7) added a comment -

          This sounds important. Order must NOT be affected by edition at all IMO (it's creation time, no matter of modification time here).

          Also, Dan's suggestion about to show "Modifed on XXXXX" seems interesting.

          +1 for this (19_STABLE and HEAD)

          Show
          Eloy Lafuente (stronk7) added a comment - This sounds important. Order must NOT be affected by edition at all IMO (it's creation time, no matter of modification time here). Also, Dan's suggestion about to show "Modifed on XXXXX" seems interesting. +1 for this (19_STABLE and HEAD)
          Hide
          Mathieu Petit-Clair added a comment -

          Patch committed to 1.9 and Head, thanks.

          Eloy, should we leave this ticket opened, transformed into a feature request for creation time editing?

          Show
          Mathieu Petit-Clair added a comment - Patch committed to 1.9 and Head, thanks. Eloy, should we leave this ticket opened, transformed into a feature request for creation time editing?

            People

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

              Dates

              • Created:
                Updated:
                Resolved: