Foswiki on GitHub is open for business! Next release meeting: Monday Dec. 1, 1300Z

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


ItemTemplate edit

Summary Func::saveAttachment does not default the save date
ReportedBy CrawfordCurrie
Codebase 1.0.9, 1.0.8, 1.0.7, 1.0.6, 1.0.5, 1.0.5 beta1, 1.0.4, 1.0.3, 1.0.2, 1.0.1, 1.0.0, 1.0.0 beta3, 1.0.0 beta2, 1.0.0 beta1, trunk
SVN Range
AppliesTo Engine
Priority Normal
CurrentState Closed
Checkins distro:d055711e2c7c
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r4 - 04 Oct 2010, KennethLavrsen
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License