MantisBT - v3.2 Release
View Issue Details
0001521v3.2 ReleaseEventspublic2014-05-06 13:402014-07-16 21:29
Assigned Tocaseydk 
PrioritynormalSeverityminorReproducibilityhave not tried
PlatformOSOS Version
Product Version 
Target Version3.2Fixed in Version3.2 
Summary0001521: inconsistency in event logic
DescriptionCEvent->load(id) followed by store() changes the times. (to UTC).

Logically, that is highly undesirable. Any object that has been loaded should be possible to be stored without changing any of its fields.

It seems load delievers times in mysql TZ and store expects them in user TZ.
one needs to read the times from the event and convert them back from mysql TZ to user TZ before storing. Even if times have not been touched, only description or similiar.

Eventually, it might be nice to have a event_TZ field to prevent such a problem.
That could indicate in which TZ the CEvent holds the times and could be used on store to determine what to do.
TagsNo tags attached.
related to 0001522closed caseydk events no longer displayed after fix 1521 
Attached Files

2014-05-09 15:31   
Resolved in development:

Issue History
2014-05-06 13:40optoNew Issue
2014-05-09 00:21caseydkAssigned To => caseydk
2014-05-09 00:21caseydkStatusnew => assigned
2014-05-09 15:31caseydkNote Added: 0003356
2014-05-09 15:31caseydkStatusassigned => resolved
2014-05-09 15:31caseydkResolutionopen => fixed
2014-05-25 20:28caseydkRelationship addedrelated to 0001522
2014-06-10 22:09caseydkTarget Version => 3.2
2014-07-16 21:26caseydkFixed in Version => 3.2
2014-07-16 21:29caseydkStatusresolved => closed