After setting the permissions for Author based on your FANTASTIC instructions here: http://drupal.org/node/408968, I see the following when I create a new piece of content logged in as Author:
Displaying current , unpublished revision of Test Post last modified by Author on Mar 24 2009 - 10:36pm
- Edit this revision
- Show all revisions
Displaying current , unpublished revision of Test Post last modified by Author on Mar 24 2009 - 10:36pm
- Edit this revision
- Show all revisions
The information is repeated and identical.
This duplicate info is also seen when navigating back to My Content / Pending / (select item) / View Current.
Only slightly confusing, but regrettably confusing to the least-technically-adept users I have (isn't that always the way).
Please advise if you know of a fix / workaround / patch / setting correction.
Thanks,
TC
Comments
Comment #1
rdeboerNice to hear you appreciate the tutorial, TC! Publication workflows can get quite complicated, can't they?
I must say I'm baffled by your error.
As a first step in learning more I'd like us to ascertain whether we're dealing with two physical copies that were somehow created only milliseconds apart, or a single instance displayed twice. Can you please hover over (or click) the Edit this revision links you see on your page and write down the URLs you get for the two cases? Are these identical or are the numbers in the links different?
Thanks!
Comment #2
ifbyphone1 commented@RdeBoer, thanks for the reply. The problem persisted after I submitted the error and included an occasional 3x of the info. It also appears for all user roles, as you'll see below.
I am a PHP hack, but nevertheless, I looked through your module and edited line 611:
- drupal_set_message($message . theme('item_list', $links));
+ drupal_set_message($message . theme('item_list', $links) . gettimeofday(true));
My intent here was to look at the microseconds to see if there was a difference between the two sets of information being displayed. If there was, it would seem to indicate that function _handle_view_op($node) is being called twice, as the $message is being re-built with a different timestamp. If there was not a difference, it would seem to indicate that drupal_set_message was somehow being called twice. It looks like the former is the case, as you'll see below.
Formatted output:
Output source:
In terms of my Drupal environment, I'm running Acquia 1.2.5 (latest), with a number of UC modules that are unlikely to interfere. I can PM you the Module list if that would help. And, I'm happy to help test this some more -- just point me in the right direction.
Thanks,
TC
Comment #3
rdeboerHi TC,
I have the suspicion that this is another symptom of whatever the cause is for #414150: Current Revision Info Appearing on Administrative Pages.
Rik
Comment #4
ifbyphone1 commentedFixed with this patch: http://drupal.org/node/415012
Comment #5
rdeboerPatch included in 6.x-1-2.