Node creation date is populated on creation form

Created on 19 April 2016, over 8 years ago
Updated 19 May 2023, over 1 year ago

When you visit the node add form as a user who can edit the authoring information, you'll find that the "Authored on" field contains an actual date and time (when the form was generated). This is a departure from prior versions of Drupal, where the field would start out empty so that the form submission time was used.

Now you would have to remember to manually wipe out that field for the correct time to be saved.

πŸ› Bug report
Status

Needs work

Version

10.1 ✨

Component
Node systemΒ  β†’

Last updated about 17 hours ago

No maintainer
Created by

πŸ‡ΊπŸ‡ΈUnited States kevin.dutra

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¦πŸ‡ΊAustralia pameeela

    This is still the case, but the patch to remove the default value breaks the node add form with:
    InvalidArgumentException: The timestamp must be numeric. in Drupal\Component\Datetime\DateTimePlus::createFromTimestamp() (line 201 of core/lib/Drupal/Component/Datetime/DateTimePlus.php).

  • πŸ‡³πŸ‡±Netherlands idebr
Production build 0.71.5 2024