Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Browsing widget and revision history use two different calculations to determine submit time of a post:
- Browsing widget "submit" time is when user STARTED writing (i.e., the very first click inside the text box)
- Revision history "submit" time is when user clicks "Post"
The revision history calculation of submit time is more intuitive. Users of my site are confused by the browsing widget calculation of submit time -- e.g., when they click "Post" and see their brand new post labelled as one hour old.
Comment | File | Size | Author |
---|---|---|---|
#2 | update-date-and-author-during-submission-2083639-2.patch | 599 bytes | Devin Carlson |
Comments
Comment #1
ezra-g CreditAttribution: ezra-g commentedGood point. Retitling with the action item here.
Comment #2
Devin Carlson CreditAttribution: Devin Carlson commentedThe browsing widget partial node form doesn't use node.module's
node_validate()
andnode_form_submit_build_node()
during validation and submission.I'd assume that this is by design, so a call to
node_submit()
can be made incommons_bw_partial_node_form_submit()
to fix this issue. I'd also assume that the partial node form wouldn't want implementations ofhook_node_submit()
to run afterwards as is done innode_form_submit_build_node()
.Comment #3
WebSinPat CreditAttribution: WebSinPat commentedpatch in #2 seems to clear it up for me.
Comment #5
japerryLooks good to me! Fixed and in the commons 7.x-3.12 radar.