Fixed
Details
Details
Priority
Assignee
Alex
AlexReporter
Alex
AlexDeveloper
Alex
AlexReviewer
Gleb Sinkovskiy
Gleb SinkovskiyChange Log Group
Fixed
Change Log Message
The "kDBItem::Clear" method wasn't resetting current time fields (e.g. "CreatedOn").
Story Points
1
Fix versions
Patch Instructions
Patches must be submitted through Phabricator.
To submit patch via Command Line use Patches Workflow (via Arcanist) tutorial.
To submit patch via Web Interface use Patches Workflow (via Web Interface) tutorial.
Created November 2, 2015 at 5:20 PM
Updated April 16, 2025 at 7:59 AM
Resolved January 17, 2016 at 11:50 AM
Plan:
add "kDBBase::CurrentTimeFields" property, that will be an array
when the "#NOW#" value is replaced (in the "kDBBase::SetDefaultValues" method) record affected field name in new property (see above)
next time we replace field default value with timestamp either if it has "#NOW#" value or had it in past (according to above added property contents)