Description of the bug
If content is created in a content type where revisions are disabled, then if revisions are later enabled, the first revision (i.e. node created) is shown as being 0 (i.e. 01/01/1970 00:00 - timezone adjusted) with an author of Anonymous).
If content is created in a content type where revisions are already enabled then this also applied.
If content is generated (e.g. Devel Node Generate or Feeds), then the correct date and author are shown.
Steps To Reproduce
To reproduce the behavior:
Content type initially revisions disabled
- Set a content type so revisions are NOT enabled
- Create a node of that content type
- Enable revisions on the content type
- Edit the node and save a revision
- View the revisions overview table (
node/%/revisions)
Content type with revisions enabled
- Create a node of that content type
- Edit the node and save a revision
- View the revisions overview table (
node/%/revisions)
Actual behavior
First revision has message:
01/01/1970 - 1:00am by Anonymous (not verified)
NOTE (BST so UTC+01:00)
Expected behavior
First revision has node author and node created date
Additional information
Add any other information that could help, such as:
- Backdrop CMS version: 1.35.x-dev (though this has probably been around since the beginning)
- Web server and its version: n/a
- PHP version: n/a
- Database sever (MySQL or MariaDB?) and its version: n/a
- Operating System and its version: n/a
- Browser(s) and their versions: n/a
PR: backdrop/backdrop#5312
Description of the bug
If content is created in a content type where revisions are disabled, then if revisions are later enabled, the first revision (i.e. node created) is shown as being
0(i.e. 01/01/1970 00:00 - timezone adjusted) with an author of Anonymous).If content is created in a content type where revisions are already enabled then this also applied.
If content is generated (e.g. Devel Node Generate or Feeds), then the correct date and author are shown.
Steps To Reproduce
To reproduce the behavior:
Content type initially revisions disabled
node/%/revisions)Content type with revisions enabled
node/%/revisions)Actual behavior
First revision has message:
NOTE (BST so UTC+01:00)
Expected behavior
First revision has node author and node created date
Additional information
Add any other information that could help, such as:
PR: backdrop/backdrop#5312