Copied to clipboard

Flag this post as spam?

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


  • Nicolás Cova 48 posts 120 karma points
    Jul 16, 2013 @ 16:52
    Nicolás Cova
    0

    uComponents 4.1.0 & Workflow 1.2

    Hi you guys,

    I'm having a little bit of trouble with the following scenario (let me know if you've heard of this before): I'm running an Umbraco 4.7.2 site with uComponents 4.1.0 and Darren Ferguson's Workflow For Umbraco 1.2 (in a Win7 machine with .net 4.0). Both packages were installed just fine, no errors or YSOD's. Now, when I start working with the Workflow package (specifically, when creating and editing tasks in a workflow configuration), I get the following errors in Firebug's console (in Chrome's console too):

    Uncaught ReferenceError: Umbraco is not defined
    Uncaught TypeError: Cannot set property 'position' of undefined 

    Both errors are associated with the WebResource.axd file. As a consequence, the tasks' properties are not being saved when I save the configuration.

    Now, the interesting part of the story is that when I uninstall uComponents, those errors go away and I can work with the Workflow package flawlessly (everything regarding a workflow gets saved properly). 

    My question is: have you guys heard of this behavior before? Can somebody please try to replicate this and confirm?

    Thank you very much, 

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Jul 16, 2013 @ 18:35
    Lee Kelleher
    0

    Hi Nicolás,

    I haven't used the Workflow package myself, but I have a feeling what it might be...

    Do you have the keyboard shortcuts and/or drag-n-drop enabled for uComponents? (If you aren't sure, hold down CTRL+SHIFT, if you see orange overlay icons, then it's enabled).

    If so, then I think it's a known bug (which we've fixed in a later version of uComponents v5.4.2)

    Cheers, Lee.

  • Nicolás Cova 48 posts 120 karma points
    Jul 16, 2013 @ 21:05
    Nicolás Cova
    0

    Hi Lee,

    Yes, I did have keyboard shortcuts enabled (although, I'm not using them). I disabled them, but now I can't even work with the Workflow package (I can't open the workflow configuration designer, get a YSOD). Enabling the shortcuts allows me to open the designer again, but I'm left with the errors from my first post. 

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Jul 17, 2013 @ 10:01
    Lee Kelleher
    0

    Hi Nicolás,

    Curious, how did you disable the keyboard shortcuts?  For v4.1.0, you would need to remove the "uComponentsModule" HttpModule references from your Web.config.

    I'm not sure what is causing the follow-up YSoD - can you tell if it is from uComponents or Workflow?

    Thanks, Lee.

  • Nicolás Cova 48 posts 120 karma points
    Jul 17, 2013 @ 16:21
    Nicolás Cova
    0

    Hi Lee,

    I'm sorry, I did not disable the keyboard shortcuts. My mistake. I didn't modify the Web.config file. What I did was uncheck the "Enable UI Modules" checkbox from the uComponents:Activator tab in the Developer section before getting that YSOD. The YSOD I'm getting (after disabling the UI Modules) is generated by the Workflow package. When I re-enable the UI Modules, the YSOD disappears, but I'm left with the same errors from my first post.

     

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Jul 17, 2013 @ 16:36
    Lee Kelleher
    0

    Hi Nicolás,

    Would you be able to post a snippet of the YSoD exception message? (Unless it contains sensitive data)

    Thanks, Lee.

  • Nicolás Cova 48 posts 120 karma points
    Jul 17, 2013 @ 16:48
    Nicolás Cova
    0

    Hi Lee,

    Sure. Here's the complete YSOD:

    Remember, this only happens after I uncheck the "Enable UI Modules" checkbox and try to use the Workflow package.

    Thank you.

Please Sign in or register to post replies

Write your reply to:

Draft