+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / SF causing multiple versions of shared content?

SF causing multiple versions of shared content?

5 posts, 0 answered
  1. Jodie
    Jodie avatar
    59 posts
    Registered:
    09 Oct 2012
    14 Dec 2009
    Link to this post
    Hi all me again,

    We have a weird isssue with one of our shared generic content items, it seems that the author/editor had made about 6 changes to the content, but in SF there is a whopping 58 versions of the content and the most resent ones were causing a number of website errors. The content is from www.addthis.com and is a share button that maybe familiar to people.

    Here is the original content (6 versions):

    <div style="z-index: 100000; position: absolute; width: 1px; height: 1px; visibility: hidden;"></div> 
    <!-- AddThis Button BEGIN --> 
    <div style="text-align: right;"><href="http://www.addthis.com/bookmark.php?v=250&amp;pub=*********" class="addthis_button" conf="[object Object]" share="[object Object]"><img width="125" height="16" width="125" height="16" style="border: 0px;" alt="Bookmark and Share" src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" /></a>  
    <script src="http://s7.addthis.com/js/250/addthis_widget.js#pub=*******" type="text/javascript"></script> 
    </div> 
    <iframe name="_atssh" width="1" height="1" id="_atssh" src="//s7.addthis.com/static/r07/sh09.html#swfp=0" style="z-index: 100000; border: 0px; position: absolute; width: 1px; height: 1px; top: 0px; left: 0px;" frameborder="1"></iframe> 

    Here is what it magically changed into (52 versions):
    <div style="z-index: 100000; position: absolute; width: 1px; height: 1px; visibility: hidden;"></div> <div style="z-index: 100000; position: absolute; width: 1px; height: 1px; visibility: hidden;"></div> <div style="z-index: 100000; position: absolute; width: 1px; height: 1px; visibility: hidden;"></div> <div style="z-index: 100000; position: absolute; width: 1px; height: 1px; visibility: hidden;"></div> <div style="z-index: 100000; position: absolute; width: 1px; height: 1px; visibility: hidden;"></div> <div style="z-index: 100000; position: absolute; width: 1px; height: 1px; visibility: hidden;"></div> <div style="z-index: 100000; position: absolute; width: 1px; height: 1px; visibility: hidden;"></div> <div style="z-index: 100000; position: absolute; width: 1px; height: 1px; visibility: hidden;"></div> <div style="z-index: 100000; position: absolute; width: 1px; height: 1px; visibility: hidden;"></div> <div style="z-index: 100000; position: absolute; width: 1px; height: 1px; visibility: hidden;"></div> <div style="z-index: 100000; position: absolute; width: 1px; height: 1px; visibility: hidden;"></div> <div style="z-index: 100000; position: absolute; width: 1px; height: 1px; visibility: hidden;"></div> <div style="z-index: 100000; position: absolute; width: 1px; height: 1px; visibility: hidden;"></div> <div style="z-index: 100000; position: absolute; width: 1px; height: 1px; visibility: hidden;"></div> <div style="z-index: 100000; position: absolute; width: 1px; height: 1px; visibility: hidden;"></div> <div style="z-index: 100000; position: absolute; width: 1px; height: 1px; visibility: hidden;"></div> <div style="z-index: 100000; position: absolute; width: 1px; height: 1px; visibility: hidden;"></div> <div style="z-index: 100000; position: absolute; width: 1px; height: 1px; visibility: hidden;"></div> <div style="z-index: 100000; position: absolute; width: 1px; height: 1px; visibility: hidden;"></div> <div style="z-index: 100000; position: absolute; width: 1px; height: 1px; visibility: hidden;"></div> <div style="z-index: 100000; position: absolute; width: 1px; height: 1px; visibility: hidden;"></div> <div style="z-index: 100000; position: absolute; width: 1px; height: 1px; visibility: hidden;"></div> <div style="z-index: 100000; position: absolute; width: 1px; height: 1px; visibility: hidden;"></div> <div style="z-index: 100000; position: absolute; width: 1px; height: 1px; visibility: hidden;"></div> <div style="z-index: 100000; position: absolute; width: 1px; height: 1px; visibility: hidden;"></div> <div style="z-index: 100000; position: absolute; width: 1px; height: 1px; visibility: hidden;"></div> <div style="z-index: 100000; position: absolute; width: 1px; height: 1px; visibility: hidden;"></div> <div style="z-index: 100000; position: absolute; width: 1px; height: 1px; visibility: hidden;"></div> <div style="z-index: 100000; position: absolute; width: 1px; height: 1px; visibility: hidden;"></div> <div style="z-index: 100000; position: absolute; width: 1px; height: 1px; visibility: hidden;"></div> <div style="z-index: 100000; position: absolute; width: 1px; height: 1px; visibility: hidden;"></div> <div style="z-index: 100000; position: absolute; width: 1px; height: 1px; visibility: hidden;"></div> <div style="z-index: 100000; position: absolute; width: 1px; height: 1px; visibility: hidden;"></div> <!-- AddThis Button BEGIN --> <div style="text-align: right;"><a share="[object Object]" conf="[object Object]" class="addthis_button" href=http://www.addthis.com/bookmark.php?v=250&amp;pub=******><img width="125" height="16" src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" alt="Bookmark and Share" style="border: 0px none ;" /></a> <script type="text/javascript" src=http://s7.addthis.com/js/250/addthis_widget.js#pub=******></script> </div> <!-- AddThis Button END --><iframe width="1" height="1" frameborder="1" style="border: 0px none ; z-index: 100000; position: absolute; width: 1px; height: 1px; top: 0px; left: 0px;" src="//s7.addthis.com/static/r07/sh09.html#swfp=0" id="_atssh" name="_atssh"></iframe><iframe width="1" height="1" frameborder="1" style="border: 0px none ; z-index: 100000; position: absolute; width: 1px; height: 1px; top: 0px; left: 0px;" src="//s7.addthis.com/static/r07/sh09.html#swfp=0" id="_atssh" name="_atssh"></iframe><iframe width="1" height="1" frameborder="1" style="border: 0px none ; z-index: 100000; position: absolute; width: 1px; height: 1px; top: 0px; left: 0px;" src="//s7.addthis.com/static/r07/sh09.html#swfp=0" id="_atssh" name="_atssh"></iframe><iframe width="1" height="1" frameborder="1" style="border: 0px none ; z-index: 100000; position: absolute; width: 1px; height: 1px; top: 0px; left: 0px;" src="//s7.addthis.com/static/r07/sh09.html#swfp=0" id="_atssh" name="_atssh"></iframe><iframe width="1" height="1" frameborder="1" style="border: 0px none ; z-index: 100000; position: absolute; width: 1px; height: 1px; top: 0px; left: 0px;" src="//s7.addthis.com/static/r07/sh09.html#swfp=0" id="_atssh" name="_atssh"></iframe><iframe width="1" height="1" frameborder="1" style="border: 0px none ; z-index: 100000; position: absolute; width: 1px; height: 1px; top: 0px; left: 0px;" src="//s7.addthis.com/static/r07/sh09.html#swfp=0" id="_atssh" name="_atssh"></iframe><iframe width="1" height="1" frameborder="1" style="border: 0px none ; z-index: 100000; position: absolute; width: 1px; height: 1px; top: 0px; left: 0px;" src="//s7.addthis.com/static/r07/sh09.html#swfp=0" id="_atssh" name="_atssh"></iframe><iframe width="1" height="1" frameborder="1" style="border: 0px none ; z-index: 100000; position: absolute; width: 1px; height: 1px; top: 0px; left: 0px;" src="//s7.addthis.com/static/r07/sh09.html#swfp=0" id="_atssh" name="_atssh"></iframe><iframe width="1" height="1" frameborder="1" style="border: 0px none ; z-index: 100000; position: absolute; width: 1px; height: 1px; top: 0px; left: 0px;" src="//s7.addthis.com/static/r07/sh09.html#swfp=0" id="_atssh" name="_atssh"></iframe><iframe width="1" height="1" frameborder="1" style="border: 0px none ; z-index: 100000; position: absolute; width: 1px; height: 1px; top: 0px; left: 0px;" src="//s7.addthis.com/static/r07/sh09.html#swfp=0" id="_atssh" name="_atssh"></iframe><iframe width="1" height="1" frameborder="1" style="border: 0px none ; z-index: 100000; position: absolute; width: 1px; height: 1px; top: 0px; left: 0px;" src="//s7.addthis.com/static/r07/sh09.html#swfp=0" id="_atssh" name="_atssh"></iframe><iframe width="1" height="1" frameborder="1" style="border: 0px none ; z-index: 100000; position: absolute; width: 1px; height: 1px; top: 0px; left: 0px;" src="//s7.addthis.com/static/r07/sh09.html#swfp=0" id="_atssh" name="_atssh"></iframe><iframe width="1" height="1" frameborder="1" style="border: 0px none ; z-index: 100000; position: absolute; width: 1px; height: 1px; top: 0px; left: 0px;" src="//s7.addthis.com/static/r07/sh09.html#swfp=0" id="_atssh" name="_atssh"></iframe><iframe width="1" height="1" frameborder="1" style="border: 0px none ; z-index: 100000; position: absolute; width: 1px; height: 1px; top: 0px; left: 0px;" src="//s7.addthis.com/static/r07/sh09.html#swfp=0" id="_atssh" name="_atssh"></iframe><iframe width="1" height="1" frameborder="1" style="border: 0px none ; z-index: 100000; position: absolute; width: 1px; height: 1px; top: 0px; left: 0px;" src="//s7.addthis.com/static/r07/sh09.html#swfp=0" id="_atssh" name="_atssh"></iframe><iframe width="1" height="1" frameborder="1" style="border: 0px none ; z-index: 100000; position: absolute; width: 1px; height: 1px; top: 0px; left: 0px;" src="//s7.addthis.com/static/r07/sh09.html#swfp=0" id="_atssh" name="_atssh"></iframe><iframe width="1" height="1" frameborder="1" style="border: 0px none ; z-index: 100000; position: absolute; width: 1px; height: 1px; top: 0px; left: 0px;" src="//s7.addthis.com/static/r07/sh09.html#swfp=0" id="_atssh" name="_atssh"></iframe><iframe width="1" height="1" frameborder="1" style="border: 0px none ; z-index: 100000; position: absolute; width: 1px; height: 1px; top: 0px; left: 0px;" src="//s7.addthis.com/static/r07/sh09.html#swfp=0" id="_atssh" name="_atssh"></iframe><iframe width="1" height="1" frameborder="1" style="border: 0px none ; z-index: 100000; position: absolute; width: 1px; height: 1px; top: 0px; left: 0px;" src="//s7.addthis.com/static/r07/sh09.html#swfp=0" id="_atssh" name="_atssh"></iframe><iframe width="1" height="1" frameborder="1" style="border: 0px none ; z-index: 100000; position: absolute; width: 1px; height: 1px; top: 0px; left: 0px;" src="//s7.addthis.com/static/r07/sh09.html#swfp=0" id="_atssh" name="_atssh"></iframe><iframe width="1" height="1" frameborder="1" style="border: 0px none ; z-index: 100000; position: absolute; width: 1px; height: 1px; top: 0px; left: 0px;" src="//s7.addthis.com/static/r07/sh09.html#swfp=0" id="_atssh" name="_atssh"></iframe><iframe width="1" height="1" frameborder="1" style="border: 0px none ; z-index: 100000; position: absolute; width: 1px; height: 1px; top: 0px; left: 0px;" src="//s7.addthis.com/static/r07/sh09.html#swfp=0" id="_atssh" name="_atssh"></iframe><iframe width="1" height="1" frameborder="1" style="border: 0px none ; z-index: 100000; position: absolute; width: 1px; height: 1px; top: 0px; left: 0px;" src="//s7.addthis.com/static/r07/sh09.html#swfp=0" id="_atssh" name="_atssh"></iframe><iframe width="1" height="1" frameborder="1" style="border: 0px none ; z-index: 100000; position: absolute; width: 1px; height: 1px; top: 0px; left: 0px;" src="//s7.addthis.com/static/r07/sh09.html#swfp=0" id="_atssh" name="_atssh"></iframe><iframe width="1" height="1" frameborder="1" style="border: 0px none ; z-index: 100000; position: absolute; width: 1px; height: 1px; top: 0px; left: 0px;" src="//s7.addthis.com/static/r07/sh09.html#swfp=0" id="_atssh" name="_atssh"></iframe><iframe width="1" height="1" frameborder="1" style="border: 0px none ; z-index: 100000; position: absolute; width: 1px; height: 1px; top: 0px; left: 0px;" src="//s7.addthis.com/static/r07/sh09.html#swfp=0" id="_atssh" name="_atssh"></iframe><iframe width="1" height="1" frameborder="1" style="border: 0px none ; z-index: 100000; position: absolute; width: 1px; height: 1px; top: 0px; left: 0px;" src="//s7.addthis.com/static/r07/sh09.html#swfp=0" id="_atssh" name="_atssh"></iframe><iframe width="1" height="1" frameborder="1" style="border: 0px none ; z-index: 100000; position: absolute; width: 1px; height: 1px; top: 0px; left: 0px;" src="//s7.addthis.com/static/r07/sh09.html#swfp=0" id="_atssh" name="_atssh"></iframe><iframe width="1" height="1" frameborder="1" style="border: 0px none ; z-index: 100000; position: absolute; width: 1px; height: 1px; top: 0px; left: 0px;" src="//s7.addthis.com/static/r07/sh09.html#swfp=0" id="_atssh" name="_atssh"></iframe><iframe width="1" height="1" frameborder="1" style="border: 0px none ; z-index: 100000; position: absolute; width: 1px; height: 1px; top: 0px; left: 0px;" src="//s7.addthis.com/static/r07/sh09.html#swfp=0" id="_atssh" name="_atssh"></iframe><iframe width="1" height="1" frameborder="1" style="border: 0px none ; z-index: 100000; position: absolute; width: 1px; height: 1px; top: 0px; left: 0px;" src="//s7.addthis.com/static/r07/sh09.html#swfp=0" id="_atssh" name="_atssh"></iframe><iframe width="1" height="1" frameborder="1" style="border: 0px none ; z-index: 100000; position: absolute; width: 1px; height: 1px; top: 0px; left: 0px;" src="//s7.addthis.com/static/r07/sh09.html#swfp=0" id="_atssh" name="_atssh"></iframe><iframe width="1" height="1" frameborder="1" style="border: 0px none ; z-index: 100000; position: absolute; width: 1px; height: 1px; top: 0px; left: 0px;" src="//s7.addthis.com/static/r07/sh09.html#swfp=0" id="_atssh" name="_atssh"></iframe> 

    SO the questions are:
    Why have we ended up with an extra 52 versions?
    Why are the other versions modified code?

    Any help is appreciated.

    Thanks

    Jodie

  2. Jodie
    Jodie avatar
    27 posts
    Registered:
    28 May 2009
    14 Dec 2009
    Link to this post
    Just to add a bit to this, as the original content editor...

    In that first code chunk the hidden div above and the iframe below are errouneous as well, the original code-snippet just had a div to align the addthis button right.

    It appeas that it got bigger every time the shared object was placed on a page...
  3. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    15 Dec 2009
    Link to this post
    Hi Chris,

    If I should be honest - I am not sure about anything in the scenario. 

    You have a shared generic content, with AddThis button inside. Then you have the content item showed on a page, but the content html is changed. 

    We are not doing anything like that in Sitefinity by purpose. 

    Can you please check if the RadEditor is changing the content when you click save? On the other hand, do you see different content versions in the history tab (more than 6 versions,versioning feature) or it's just the html?

    Thank you in advance for the additional details that you could provide.

    Greetings,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  4. Jodie
    Jodie avatar
    27 posts
    Registered:
    28 May 2009
    17 Dec 2009
    Link to this post
    Hi-ho...

    This has just happened again, so here's the details..

    We have a shared content object with the html for the addthis button in it which is placed in a generic content block on a number of pages.  The add-this code is just copied'n'pasted from the addthis site.

    The valid code is:

    <div style="text-align: right;"><href="http://www.addthis.com/bookmark.php?v=250&amp;pub=chrisxtend" class="addthis_button" conf="[object Object]" share="[object Object]"><img width="125" height="16" style="border: 0px none ;" alt="Bookmark and Share" src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" /></a
    <script src="http://s7.addthis.com/js/250/addthis_widget.js#pub=chrisxtend" type="text/javascript"></script> 
    </div> 

    We had a problem with the erroneous code which I fixed up on the 14th, and then yesterday I added the shared content to a number of other pages.

    It appears that every time I saved the page it added a new version of the shared content.  In this case it appended:

    <iframe id="_atssh" style="border: 0pt none ; height: 1px; width: 1px; position: absolute; z-index: 100000; left: 0pt; top: 0pt;" src="//s7.addthis.com/static/r07/sh09.html#swfp=0"></iframe> 

    Each time it was added.  This is part of the code that addthis renders from the script in the valid code.

    A screenshot of the shared object history is attached.

    This has happened to a couple of other shared content objects that have ajax calls in them, but I didn't realise what the problem was till now, I've been blaming the marketing staff who edit some of the content for messing up my javascript. :-)

    As a workaround we could put the addthis button into a control rather than a generic content page, but I'm not relishing the idea of editing 700 odd pages...

    Cheers, Me.
  5. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    18 Dec 2009
    Link to this post
    Hi Chris,

    Which version of Sitefinity you use? We have similar problems with versions before Sitefinity 3.7 SP2. Actually the problem appears when you click "I'm Done" button of GenericContent control and when you have made any changes the the GenericContent content. From Sitefinity 3.7 SP2 you are not able to edit the GenericContent control content directly - first you have to click on "Edit this content" LinkButton( take a look at the attached screenshot).

    All the best,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Register for webinar
5 posts, 0 answered