Copied to clipboard

Flag this post as spam?

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


  • Jan Bengtsson 2 posts 22 karma points
    Jun 12, 2012 @ 15:37
    Jan Bengtsson
    0

    Slides disappears when switching hostnames

    We’re using Digibiz Advanced Media Picker (DAMP) version 2.0 on a Umbraco 4.7.1 site. This has given us a serious problem. Suddenly disappears all slides from the DAMP data type in Umbraco’s backend (those remaining in the Media Library).

    The error latest occurred when we changed the hostname of a top node. After that, as soon as a child node is stored anew, the slides of this node disappears. The Umbraco log gives us the error message below.

    We’re grateful for any help that might put us in the right direction since our site contains more than a  hundred nodes using the DAMP slideshow.

    Exception: Umbraco Exception (DataLayer): SQL helper exception in ExecuteXmlReader - StackTrace:    at umbraco.DataLayer.SqlHelper`1.ExecuteXmlReader(String commandText, IParameter[] parameters)     at DigibizTree.DigibizMediaHelper.GetMediaElements(String id)     at DigibizTree.DigibizMediaHelper.<GetXML>b__0(String id)     at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()     at System.Xml.Linq.XContainer.AddContentSkipNotify(Object content)     at System.Xml.Linq.XContainer.AddContentSkipNotify(Object content)     at DigibizTree.DigibizMediaHelper.GetXML(String[] ids)     at DigibizAdvancedMediaPicker.DigibizAdvancedMediaPicker.DataBindMedia(List`1& mediaItemsList)     at DigibizAdvancedMediaPicker.DigibizAdvancedMediaPicker.get_Value() - InnerException: The query didn't return a value. - InnerStackTrace:    at umbraco.DataLayer.SqlHelper`1.ExecuteXmlReader(String commandText, P[] parameters)     at umbraco.DataLayer.SqlHelper`1.ExecuteXmlReader(String commandText, IParameter[] parameters)

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Jun 17, 2012 @ 16:32
    Jeroen Breuer
    0

    Hello,

    I've never seen this before. Are you still having this problem?

    Jeroen

  • Jan Bengtsson 2 posts 22 karma points
    Jul 12, 2012 @ 16:38
    Jan Bengtsson
    0

    Sorry for this late response, Jeroen, but I missed the notification mail for your posting.

    Anyway, the problem remains. Some time ago, the DAMP slides disappeared again. We still believe it has to do with the change of hostnames – in some way – but this time we could identify a direct trigger.

    The nodes on our site that utilizes the DAMP datatype also uses – in another tab - uComponents Multi-Node Tree Picker. In this case, the latter control originally pointed to nodes that were no longer relevant. After re-pointing to other nodes and then saving the changes, it happened – the node’s DAMP slides were gone! And there were nothing we could do but to restore them manually.

    Since we needed to do this operation at hundreds of nodes, you can probably imagine our frustration.

    From this experience, it seems natural to suspect some kind of conflict between DAMP and the Multi-Node Tree Picker. Does this information give you any idea about the issue?   

    /Jan

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Jul 15, 2012 @ 17:02
    Jeroen Breuer
    0

    Hello,

    When I created DAMP I copied a lot of things from MNTP because I didn't know how they worked. Perhaps that might be the reason why there is a conflict and the nodes disappear. You could try to download the source and debug it. Think you'll need to look at the DigibizAdvancedMediaPicker.ascx.cs page because that's where the data is fetched and displayed.

    Jeroen

Please Sign in or register to post replies

Write your reply to:

Draft