After submitting a new revision, the pending revisions notification message is shown twice (see screenshot)
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | revision_moderation-nodewords.patch | 4.01 KB | john morahan |
| #5 | revision_moderation-4.7.x-duplicate_messages_0.patch | 858 bytes | john morahan |
| #4 | revision_moderation-4.7.x-duplicate_messages.patch | 3.7 KB | john morahan |
| screenshot_0 | 15.86 KB | marcoBauli |
Comments
Comment #1
webchickCan anyone reproduce this? I haven't seen this in my tests.
Comment #2
jimmygoon commentedI can't say I've ever seen it in any of my testing...
Comment #3
webchickI'm going to mark this closed. Please feel free to re-open if you can give me instructions on how to reproduce.
Comment #4
john morahan commentedIt happens for me with the 4.7.x versions, but not with 5.x-1.0
Here's what I changed to fix it.
Comment #5
john morahan commentedfor clarity, the same patch without the whitespace changes
Comment #6
ashtonium commentedI was actually seeing this in the 5.x version as well, when I was viewing the full node this message would sometimes display twice--both linking to the same revision.
I entered this fix by hand and it appears to have solved the problem.
Comment #7
john morahan commentedOkay, I think I've figured it out - on the 4.7.x site I had the Meta Tags module (aka nodewords) installed, but not on the 5.x site. I installed both Revision Moderation and Meta Tags on a 5.x test site and got this problem there too. So it seems that this is a conflict between these two modules. Can anyone else confirm this?
Comment #8
john morahan commentedHere's a patch for 5.x-1.x-dev
Comment #9
john morahan commentedComment #10
ashtonium commentedYes, I do have the Meta Tags module installed on the site I'm seeing this issue on.
Comment #11
Mac Clemmens commentedConfirmed... I have the same issue. Thanks for this patch!
Comment #12
add1sun commentedthis one is odd. I'm not familiar with nodewords to know why setting the !teaser fixes it. I'd rather not add lines of code unnecessarily so I'd like to see if this is still a conflict (also if in D6) and then why this change fixes it. :-) Any insights?
Comment #13
add1sun commentedStill happens in 5 but doesn't happen for me in 6. I poked at that part of the code and it looks like it was a fix that slipped in to makara's D6 "upgrade" patch. I'd still really like to know *why* nodewords is making this happen to determine if it is RM's fault or nodewords' fault before I commit.
Comment #14
add1sun commentedUgh, OK I think I figured it out - sorta. It is the nodewords' "Use the teaser" setting to use the teaser to set a description, which is turned on by default. The RM message is displayed in both the teaser and the full node view. NW is pulling the node to get the teaser for its "description" which ends up firing the dsm twice, once for the NW description getting set and then once for the regular node view.
Honestly I think this is a nodewords problem and not a RM bug. On the other hand should/do we want the pending revisions notice to appear in teasers? Probably not.
Committed to 5, 6 and HEAD.