Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Dec 12, 2012 @ 11:53
    Darren Ferguson
    0

    Document showing as modified in UI after publish

    We are having a strange issue - on an Umbraco 4.9.1 site (SQL server 2008). We also have the site running on three environments but are only able to reproduce on one.

    When (any) document is published - Umbraco confirms the change and updates the cache and therefore the front end website - however.... in the Content tree the modified icon shows.

    On further investigation post publish umbraco calls:

    /umbraco/webservices/TreeDataService.ashx?rnd=430e9f9205064804b6fabd175bade6f6&id=1114&treeType=content&contextMenu=true&isDialog=false&rnd2=31.3

    Post publish which returns some JSON detailing the state of the Document in the tree something like:

    {
        "data": {
          "title": "About",
          "icon": "\/umbraco\/images\/umbraco\/page_white_cup.png",
          "attributes": {
            "class": "sprTree noSpr",
            "href": "javascript:openContent('1115');",
            "umb:nodedata": "{'menu':'C:,D,MO,SK,UIR,P,Z,T5,L','nodeType':'content','source':'\/umbraco\/tree.aspx?rnd=600788d6f7684957abe744ac6be63b03\\u0026id=1115\\u0026treeType=content\\u0026contextMenu=true\\u0026isDialog=false'}"
          }
        },
        "attributes": {
          "id": "1115",
          "class": "overlay-new",
          "rel": "dataNode",
          "umb:type": "content"
        }
      },

    The key thing being that the treeservice is telling Umbraco to add the overlay-new class to the document container div in the DOM.

    The environment is pretty slow - is anyone aware of this issue - or maybe any issues of synchronisation between publish and updating the GUI?

    Any thoughts would be appreciated - most useful would be the process that Umbraco undertakes to determine whether a given version of a document is the most recent.

    Our next step is to start hacking apart the tree service which would prefer not to :)

    Many Thanks for any input.

     

     

     

     


  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Dec 12, 2012 @ 12:35
    Darren Ferguson
    0

    It looks like this is the issue: http://umbraco.codeplex.com/SourceControl/changeset/e85fb0ba07c4

    Thanks seb!

     

  • Stephen Roberts 47 posts 516 karma points c-trib
    Dec 12, 2012 @ 12:36
    Stephen Roberts
    0

    Could be to do with: http://issues.umbraco.org/issue/U4-387

     

    especially if your environment which is breaking is on a different server/ or dev.

Please Sign in or register to post replies

Write your reply to:

Draft