Copied to clipboard

Flag this post as spam?

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


  • Mike 35 posts 100 karma points
    Sep 06, 2012 @ 18:15
    Mike
    0

    umb: 4.7.2 create node error

    I put the help control onto existing nodes / documents and it works fine, but whenever I create a new node I get the following error:

    SqlHelperException: Umbraco Exception (DataLayer): SQL helper exception in ExecuteReader]
       umbraco.DataLayer.SqlHelper`1.ExecuteReader(String commandText, IParameter[] parameters) +261
       Yoyocms.Umbraco.HelpTab.usercontrols.yoyocmsHelpTabWrapper.GetAll(String nodeAlias) +478
       Yoyocms.Umbraco.HelpTab.usercontrols.yoyocmsHelpTabWrapper.Page_Load(Object sender, EventArgs e) +256
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
       System.Web.UI.Control.LoadRecursive() +71

    I'm not sure how to fix it.  I've removed the help datatype from the document type and everything works fine (of course, no help available).

    Has anyone experienced this?  

     

     

  • Nigel Wilson 945 posts 2077 karma points
    Sep 07, 2012 @ 08:34
    Nigel Wilson
    0

    Hi Mike

    I created the Help Tab Manager so am concerned you are experiencing problems.

    I have had a quick play and confirm I can generate an error message when creating a new page.

    What I have identified is that you can refresh the content tree and the new node appears in the tree. Then if you right click on the node and publish it everything comes right. 

    So whilst this doesn't solve the problem, it at least confirms that the issue does relate to the node not being published.

    I will start looking into how to work around unpublished nodes. 

    Cheers, Nigel

  • Mike 35 posts 100 karma points
    Sep 08, 2012 @ 13:25
    Mike
    0

    Thanks Nigel.

    I appreciate anything that you can do.  I started using it for a project and the customer absolutely loves it.  

     

  • Nigel Wilson 945 posts 2077 karma points
    Sep 08, 2012 @ 21:22
    Nigel Wilson
    0

    Hi Mike

    PLeased to hear your client likes the functionality.

    I have just uploaded a new package to the repository that prevents the error from displaying when creating new nodes.

    One thing I did notice (which I hadn't before, and hence this bug that you found) is that no help data appears on unpublished nodes. Don't know if this will be a problem for you but thought I'd mention it.

    Let me know.

    Cheers

    Nigel

  • Mike 35 posts 100 karma points
    Sep 09, 2012 @ 13:11
    Mike
    0

    Nigel

    Thank you so much.  I replaced the DLL & the ascx's respectively and it works as you stated.  I don't believe it will be an issue for my customer, but "it sure would be nice" to have it on unpublished nodes.  

    You're the best!!!  Thank you for the prompt response and great work.

    Stay Safe,
    Mike 

Please Sign in or register to post replies

Write your reply to:

Draft