Copied to clipboard

Flag this post as spam?

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


  • Dave Forster 28 posts 74 karma points
    Jul 31, 2012 @ 15:44
    Dave Forster
    0

    Workflow task properties not saving. Cannot set start task

    Hi,

    Just tried this out on a 4.7.2 installation and, while everything appeared to be working normally I noticed that none of the properties on the work flow tasks where being saved i.e. "Is Start Task" etc.

    I created the basic approval flow as per the intro video, with the difference being that it was instantiated via the SendToPublish event, which in my opinion is a more obvious choice than cancelling the Publish event.  However, when testing the scenario I get a YSOD staying that no start task had been defined.  Being sure I had defined one I checked the workflow designer and noticed that it wouldn't save and of the task settings.. and gave no indication as to why ?

    Any ideas ?.. has this been used on 4.7.2 before ?

    Also, the uninstall of the package totally wrecked my umbraco installation i.e. left things in web.config that should have been removed, actually deleted my umbraco.aspx page and caused issued with tree node rendering.

     

     

  • Darren Ferguson 1022 posts 3258 karma points MVP c-trib
    Jul 31, 2012 @ 16:03
    Darren Ferguson
    0

    Hi,

    When you set a start task you first have to save the task properties - at the bottom of the right hand pane and then save the workflow itself.

    4.7.2 isn't *officially* supported as the installer tells you - but I do have clients who are running without issues on 4.7.2

    The uninstaller is a feature of Umbraco and not my package - I'm afraid that it doesn't always do a great job of removing packages.

  • Dave Forster 28 posts 74 karma points
    Jul 31, 2012 @ 16:16
    Dave Forster
    0

    Hi Darren, thanks for responding so quickly.

    When I say "doesn't save task properties", I am actually referring to the save button on each individual task rather than the save workflow & close (designer) button.

    I did notice the warning during installation and decided to proceed anyway.. I was just wondering if this was a know problem on 4.7.2.

    Are there any possible permission issues here ? I find it odd that the workflow itself seems to save (i.e. layout, tasks etc) but the task properties themselves don't.

    Cheers
    Dave

     

  • Darren Ferguson 1022 posts 3258 karma points MVP c-trib
    Jul 31, 2012 @ 16:42
    Darren Ferguson
    0

    It isn't a known issue - but as I say I haven't throughly tested with 4.7.2.

    Just to be clear, asked you've clicked Save Task properties on the individual tasks you also have to save the workflow design using the buttons at the top.

    It may be worth monitoring the requests that workflow is making using firebug or similar to see if any of the requests made throw an error.

     

  • Dave Forster 28 posts 74 karma points
    Jul 31, 2012 @ 16:45
    Dave Forster
    0

    Yes, that's the process I've used.

    I've had to abandon testing for now but hopefully i'll get a chance to try again before the end of the week. I'll probably try it on a clean install too just to be on the safe side. I'll post my findings either way

     

    Cheers

  • Darren Ferguson 1022 posts 3258 karma points MVP c-trib
    Aug 17, 2012 @ 09:41
    Darren Ferguson
    0

    Hello Dave - I've released a new version today - I've verified it with 4.8 and all works well so maybe try with that and let me know how you get on.

  • Dave Forster 28 posts 74 karma points
    Aug 28, 2012 @ 09:40
    Dave Forster
    0

    Hi Darren,

    thanks. Just back from vacation so will give it a go when I get an opportunity. Will feed back

  • Rachel 7 posts 27 karma points
    Nov 28, 2012 @ 15:04
    Rachel
    0

    Hi,

    I have also been seeing this bug where any changes made to the Task Properties and clicking 'Save Task Properties' is not saving any changes made.

    I am using Umbraco 4.7.2, Workflow 1.2 and uComponents 4.1.0.

    The following error is thrown in the Chrome Dev tools 'Uncaught Reference Error: Umbraco is not defined' - this is linked through to WebResource.axd file. The first few lines of the javascript where it is failing is below:

    (function(a){a(function(){for(var e=["nodeTypes","templates","dataType"],f={},d=0;d<e.length;d++)f[e[d]]=true;var c=Umbraco.Controls.UmbracoTree;Umbraco.Controls.UmbracoTree=function(){var b=c(),d=false,e=false,j=b.rebuildTree;b.rebuildTree=function(c,a){e=UC_SETTINGS.ENABLE_TRAY_PEEK;d=false;var b=UC_SETTINGS.ENABLE_TRAY_PEEK?function(b){a&&a(b||(this._loadedApps.length==0?null:{}))}:a,f=j.call(this,c,b);e=false;this._tree.settings.plugins.keyboard.focus();return f};var h,l=b.onSelect;b.onSelect=function(b,c){a(b).find("a:first:visible").removeClass("passive");if(!d&&(!e||this._loadedApps.length==0)){h=this._opts.app;return l.call(this,b,c)}else

    I also tested this functionality on a new Umbraco 4.7.2 instance with Workflow 1.2 installed without uComponents installed - and the 'Save Task Properties' did work correctly. As soon as I installed uComponents the above JavaScript error is thrown and Save no longer works. So it looks like uComponents could be the culprit here.

    Any ideas of how we can use & configure the Workflow with uComponents installed.

    Thanks

  • Doug Moore 35 posts 55 karma points
    Jun 07, 2013 @ 21:47
    Doug Moore
    0

    I have this problem as well, and I have uComponents installed. I am not certain if that is the javascript with the error, but I know that I receive javascript errors:

     

    1. Uncaught TypeError: Cannot set property 'position' of undefined WebResource.axd:149
    1. Uncaught ReferenceError: Umbraco is not defined WebResource.axd:10

     

    My steps are:

    • Make change to task
    • Click "Save Task Properties"
    • Click different task
    • Click changed task again
    When I do so, the changes have not been saved.
  • Doug Moore 35 posts 55 karma points
    Jun 07, 2013 @ 21:50
    Doug Moore
    0

    Hmm.. That may be a red herring. I get those errors just clicking between tasks as well.

    More information:

    umbraco v 4.7.1.1 (Assembly version: 1.0.4435.22807)

  • Doug Moore 35 posts 55 karma points
    Jun 10, 2013 @ 20:54
    Doug Moore
    0

    When loading the workflow editor () I get:

    1. Uncaught ReferenceError: Umbraco is not defined WebResource.axd:10
      1. (anonymous function)WebResource.axd:10
      2. f.resolveWithWebResource.axd:16
      3. d.extend.readyWebResource.axd:16
      4. c.addEventListener.A



    When the page loads. The line of code it is referencing is:

    varorg=Umbraco.Controls.UmbracoTree;

    it seems like maybe javascript resources are being loaded in the wrong order?

  • Doug Moore 35 posts 55 karma points
    Jun 10, 2013 @ 22:42
    Doug Moore
    0

    Actually, upon closer inspection, Umbraco.Conrols.UmbracoTree is created 2 lines later .. not entirely sure why this is failing. Does it need the higher levels created first?

  • Doug Moore 35 posts 55 karma points
    Jun 24, 2013 @ 19:18
    Doug Moore
    0

    I am still having this issue and I am running:

    umbraco v 4.9.0 (Assembly version: 1.0.4910.12817)

    uComponents 5.4.1

     

    Is there any more information I can provide to resolve this issue? This clearly makes the package a non-starter for us.

  • Darren Ferguson 1022 posts 3258 karma points MVP c-trib
    Jun 25, 2013 @ 09:41
    Darren Ferguson
    0

    Hi Doug,

    None of the information provided suggests to me that this is an issue with Workflow - I'd try the same in a clean install without uComponents.

  • Doug Moore 35 posts 55 karma points
    Jun 25, 2013 @ 15:16
    Doug Moore
    0

    Do you have any idea what this Umbraco reference is so I can try to track this down?

     

    1. Uncaught ReferenceError: Umbraco is not defined WebResource.axd:1
      1. (anonymous function)WebResource.axd:1
      2. f.resolveWithWebResource.axd:16
      3. d.extend.readyWebResource.axd:16
      4. c.addEventListener.AWebResource.axd:16
  • Doug Moore 35 posts 55 karma points
    Jun 25, 2013 @ 15:32
    Doug Moore
    0

    I also get these errors when I open the properties editor (the other is from the designer)

     

     

    1. Uncaught TypeError: Cannot set property 'position' of undefined WebResource.axd:1
    1. Uncaught TypeError: Cannot read property 'UmbracoTree' of undefined WebResource.axd:1
  • Doug Moore 35 posts 55 karma points
    Jul 16, 2013 @ 19:57
    Doug Moore
    0

    For anyone having a similar problem, this seems to be my problem: http://our.umbraco.org/projects/backoffice-extensions/ucomponents/questionssuggestions/17891-Script-tag-on-rendered-page

     

    I have not yet had a chance to upgrade uComponennts, but I disabled the module in the web.config and things are working.

  • Nicolás Cova 47 posts 118 karma points
    Aug 01, 2013 @ 21:26
    Nicolás Cova
    0

    Hey Doug, 

    Did you do anything else after disabling the module in your Web.config? Disabling the module did nothing for me in my Umbraco installation.

  • Doug Moore 35 posts 55 karma points
    Aug 03, 2013 @ 00:33
    Doug Moore
    0

    As I recall, that was all. Are you getting the same error I was?

  • Nicolás Cova 47 posts 118 karma points
    Aug 07, 2013 @ 15:53
    Nicolás Cova
    0

    Hi Doug,

    Sorry for the delay. Yes, I was having the same error as you. I was able to fix it by disabling uComponents in the <modules> section of the Web.config file (instead of disabling it in the <httpModules> section of the file, as the post you mentioned pointed out).

Please Sign in or register to post replies

Write your reply to:

Draft