Disable compare versions

Permalink
Can somebody please tell me how to disable 'Compare Versions' that pops up everytime i go back to the site?

DeWebmakers
View Replies:
java9 replied on at Permalink Reply
I'm having the same problem. It's so annoying.
java9 replied on at Permalink Reply
Until this issue is fixed, I went with simply hiding it:

#ccm-notification-page-alert-workflow { display: none }
rockface replied on at Permalink Reply
rockface
Did this issue get forgotten or do I not have things setup right?
This message comes up all the time in 5.7.4.2. If I click it, there are no versions to compare. So I have to click "Hide" EVERY time I view the page. It really is pretty annoying and seems to have been an issue for over 6 months.
rockface replied on at Permalink Reply
rockface
Did this issue get forgotten or do I not have things setup right?
This message comes up all the time in 5.7.4.2. If I click it, there are no versions to compare. So I have to click "Hide" EVERY time I view the page

and is actually pretty annoying
andrew replied on at Permalink Reply
andrew
Hmm, this shouldn't ever really happen unless you turn on workflow or something has gone wrong – as in some bugginess occurred that stopped a page approval action mid-approval. Did anything like that happen? We want to catch those if they're the case.

In any case, you can get rid of these by running this query from the database:

delete from PageWorkflowProgress;
rockface replied on at Permalink Reply
rockface
That query fixed the problem... for now.
but there are no workflows defined in the dashboard so something is creating these bogas records.
ketaz replied on at Permalink Reply
ketaz
I managed to replicate this, maybe it will help.

Indeed the flow was halted by an exception - where c5 couldn't write into application/config/generated_overrides folder while publishing a page version.

This happened when I tried to publish content for the first time on a freshly deployed site before thinking about configuring the file permissions properly for NIX.
Dushka replied on at Permalink Reply
Dushka
Now I'm having the same problem, but only on one page. I tried running this query, but I am a total novice at this, and no doubt did the wrong thing. I pasted your query into the "SQL query on database" on the bottom right of the query window and then hit "Submit query". Is that what one is meant to do? And what am I meant to do immediately after that?
mesuva replied on at Permalink Reply
mesuva
The times this message has come up and I've not been able to clear it is when I've tried to publish something and I've caused a fatal error partway during the save (normally because I'm doing custom development and I've borked something).

This custom job by Hissy has always been able to fix it in 5.7 for me.
https://gist.github.com/hissy/5ea2147516a90710919d...
Dushka replied on at Permalink Reply
Dushka
Brilliant. Thanks, Ryan. And Hissy. Worked a charm.