NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use
trunk.foswiki.org to view this page for some minimal testing.
Use
Item9693 for docu changes for 1.2 and 2.0.
Item8934: Func::saveAttachment does not default the save date
| Priority: |
CurrentState: |
AppliesTo: |
Component: |
WaitingFor: |
| Normal |
Closed |
Engine |
|
|
If you call Func::saveAttachment without providing a filedate, then the attachment is displayed as having been created "1 Jan 1970".
The core ought to provide a default (the current time) - in fact, it should probably ignore whatever is passed in the filedate, after all it's in charge.
--
CrawfordCurrie - 20 Apr 2010
Fixed and unit-tested.
--
CrawfordCurrie - 23 Jun 2010