ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Unusual behaviour with revisions

September 28, 2011 5:37am

Subscribe [5]
  • #1 / Sep 28, 2011 5:37am

    Darren Miller

    103 posts

    Got some strange-ness afoot on a site I’m working on.

    With a number of revisions built up, you can go back and forth between #2 onward as you’d expect and the later revisions are still visible in the revisions tab.

    However, if revision 1 is selected, all later revisions disappear. And just to add to the confusion, this is only happening on about 30% of channels.

    Not sure where to start on this one, I think you might need to take a look at the CP yourselves to see it happening.

    Using EE2.2.2 build 20110801

  • #2 / Sep 28, 2011 6:13pm

    Dan Decker

    7338 posts

    Hello Darren,

    That is odd behavior! I’ve got a few questions to go through first, just to rule some things out. Can you tell me a little about the channels that are exhibiting this behavior? Do they have any custom field types in common? Are the channels that this is happening on consistent, or is it random?

    Cheers,

  • #3 / Sep 29, 2011 3:36am

    Darren Miller

    103 posts

    There are a few field groups in place, all of which contain custom fields, the most complex of which is Matrix. Most of the others are just a little bit of data-massaging on save or replace_tag.

    There are channels that share a field group and only some of them are exhibiting this behaviour (?!).

    As far as I can see it’s consistent and repeatable. Which is a start at least.

  • #4 / Sep 29, 2011 6:49pm

    Dan Decker

    7338 posts

    Hi Darren,

    So you have Matrix. Are there any other third-party field types you are using? Have you made sure you are using the latest versions?

    With the channels that are having this issue, are they the ones that share field groups? If we can whittle this down to the specifics, we can repeat it for bug reporting purposes.

    Cheers,

  • #5 / Nov 10, 2011 5:50am

    Cynan Clucas

    3 posts

    Hi,

    We are also experiencing this issue on all channels. Any time you select the first revision all the other revisions are lost.

    We do have a custom country and user class module which resides in its own tab, but otherwise everything is from the standard EE install.

    As a side note all revisions work from revision 2 up so it seems odd that loading the first revision would cause all the revisions to be removed from the db?

    v2.2.2 - Build: date 20110801

    EDIT: hoping this has been resolved or confirmed as a issue

    EDIT 2: I just installed a completely vanilla version on our dev environemt and the revision functionality does seem to work fine, so it does seem to be a custom module issue? If anyone knows of any issues with revisions and custom modules it would be great to hear!

  • #6 / Nov 10, 2011 6:41am

    Sue Crocker

    26054 posts

    Welcome to the ExpressionEngine forums, Cynan Clucas.

    It also wouldn’t hurt to test with EE 2.3.1 with and without your custom module. Unfortunately there isn’t much we can do to assist if the module is at fault, other than to ask you to post in the Development and Programming forum.

  • #7 / Nov 11, 2011 6:04am

    Cynan Clucas

    3 posts

    Well revisions work fine other than when reverting back to the first revision, so any insight as to how the revisions functionality logic works would be useful as if it were a issue directly with the custom module then surely no revisions would work?

    I guess my question would be is there any difference in the logic / sql queries for the first revision compared to the subsequent revisions?

  • #8 / Nov 14, 2011 5:22pm

    Dan Decker

    7338 posts

    Hi there Cynan Clucas,

    I ran some tests in an effort to replicate this. I used ExpressionEngine 2.3.1, with no add-ons, and all revisions remained regardless of the order that I selected them in. So, 2 things I have to ask:
    1) Would updating to ExpressionEngine 2.3.1 be an option for you?
    2) Can you tell us what add-ons you are using on this site? Specifically any that manipulate channels or field types in any way.

    Thanks!

  • #9 / Jan 17, 2012 12:13pm

    Un.titled

    34 posts

    Hi,

    I have the same issue. Has updating the EE version to 2.3.1 solved the problem for anybody?

    I am using EE2.2.1 and have (amongst others) Structure and Matrix installed, both are the latest versions.

    Regards,
    D.

  • #10 / Jan 23, 2012 8:03pm

    Sean C. Smith

    3818 posts

    Untitled,

    I would strongly encourage that you upgrade to the latest version of ExpressionEngine, 2.3.1 and then see if your errors are still occurring. There are many bug fixes and improvements between 2.2.1 and 2.3.1
    Sean

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases