17487 Posts in 4473 Topics by 1978 members
|Go to End|
1 May 2008 at 6:27pm
When I edit a file in the CMS, the "File uploaded" value is always reset to a date 38 years ago. On my laptop (which has a local time zone west of GMT) it's the 31/12/1969, on my web server (located in a time zone east of GMT) it's the 01/01/1970. These are not only display differences, but appear this way in the respective database.
To reproduce this, it's enough to open the "Edit" dialog, then to click on "Save" in the "Main" tab.
Silverstripe version: 2.2.2rc3
Can anybody confirm this error?
21 May 2008 at 4:00am
Did you ever find a fix for this? I am currently experiencing this.
21 May 2008 at 1:49pm
It's reported as a bug and currently in the list for the 2.2.3 milestone. Unfortunately I couldn't really find a fix for it, my current workaround is running the following query in the database after I changed anything with the file edit dialog:
UPDATE `File`SET `Created` = `LastEdited` WHERE `Created` < '1980-01-01 00:00:00';
It doesn't really fix the issue, but at least I get a date that makes more sense than the one 38 years ago.
21 May 2008 at 4:53pm
thanks for the update.
26 August 2008 at 12:25pm Last edited: 26 August 2008 12:46pm
Any further updates on this? It wasn't happening on my site until recently.
26 August 2008 at 2:28pm
I fixed that error on my installation about 1 month ago, and also reported the fix at http://open.silverstripe.com/ticket/2495#comment:2. Unfortunately, it will still take quite a while until this will appear in any Silverstripe release.
|Go to Top|