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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ezra-g’s picture

Title: Discrepancy in time submitted: Browsing Widget different than revision history » Content submitted via browsing widget should be saved with submission time for $node->created

Good point. Retitling with the action item here.

Devin Carlson’s picture

Version: 7.x-3.3 » 7.x-3.x-dev
Status: Active » Needs review
FileSize
599 bytes

The browsing widget partial node form doesn't use node.module's node_validate() and node_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 in commons_bw_partial_node_form_submit() to fix this issue. I'd also assume that the partial node form wouldn't want implementations of hook_node_submit() to run afterwards as is done in node_form_submit_build_node().

WebSinPat’s picture

patch in #2 seems to clear it up for me.

  • Commit 5a5839f on 7.x-3.x authored by Devin Carlson, committed by japerry:
    Issue #2083639 by behoppe333, Devin Carlson: Sync bw_widget submission...
japerry’s picture

Issue summary: View changes
Status: Needs review » Fixed
Issue tags: +commons 7.x-3.12 radar

Looks good to me! Fixed and in the commons 7.x-3.12 radar.

Status: Fixed » Closed (fixed)

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