Closed (won't fix)
Project:
Drupal core
Version:
6.x-dev
Component:
comment.module
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Aug 2010 at 21:40 UTC
Updated:
26 Oct 2013 at 07:33 UTC
Jump to comment: Most recent file
Comments
Comment #1
skyredwangComment #3
skyredwangre-submitted the patch with corrected path
Comment #5
skyredwangrename the file so the bot will ignore simpletesting this D6 patch.
Comment #6
thedavidmeister commentedThere are multiple coding standards violations here.
- Trailing whitespace above and below the code
- Inline comment exceeds 80 characters
- Comment does not finish with a full-stop "." character
Regardless, I disagree that updating a comment should silently reset the "created timestamp" to the current time if the timestamp is not provided. In this situation, throwing an error seems like the correct thing to do as it notifies the developer that something unexpected is happening.
For most cases, modifying the created stamp for a comment when it is modified (which could just be it being published/unpublished by a moderator) is a bug, for the cases where this is intended behaviour, it should be the responsibility of the developer to recognise the situation and explicitly pass in a new timestamp as required.
#2094585: [policy, no patch] Core review bonus for #2025699: Consolidate 'datetime'/'datetime_form' and 'datelist'/'datelist_form' #type and #theme names for consistency.