Hi, first thanks for a nice module:-)

I have this very strange problem, however:

When a user who doesn't have 'administer nodes' permission edits a node, the date of the node gets set back to to the year 1901! It only happens after edit, not on creation, and to make it even stranger, it only happens with users from certain time zones. I tried several zones, and it appears that when setting my timezone to some European cities, there was no problem, but with several time zones from America there was problem.

Furthermore, I was unable to reproduce this bug (if it is a bug) on my local setup, so apparently it is somehow related to the setup or time of my shared host (Bluehost).

I don't have any modules installed that "hide" the author field. And I have the latest version of Date module installed (6.x-2.7).

Do you have any ideas what might cause this mysterious problem?

Comments

mark trapp’s picture

Title: date problem after non-admin user edits a node » Post date resets on save if user can't administer nodes
Version: 6.x-1.0 » 7.x-1.x-dev
Priority: Normal » Major
Status: Active » Fixed

This is indeed a bug: Date Popup Authored made the (incorrect) assumption that the authored on date will always be set even if the user does not have access to the Authored On field. The bug is present in both the 6.x and 7.x branches.

Fixes for the 6.x branch and the 7.x branch have been committed and will be part of forthcoming 6.x-1.1 and 7.x-1.1-beta2 releases.

LarsKramer’s picture

Thanks a lot!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

rv0’s picture

wow, spent quite long tracking down this bug :(

It's been ages since this has been committed, isn't it time for tagging a new release?

mark trapp’s picture

The latest 6.x release had this bug fix, but not the latest 7.x release. A new release has been created and should be available in a few hours.

rv0’s picture

great, thanks!