-
15. Re: No save option in Designer
eaa Feb 22, 2012 1:46 PM (in response to out_sider)You can get the latest version (remember it is a nightly build) from here: https://hudson.jboss.org/hudson/view/Drools%20jBPM/job/guvnor/lastSuccessfulBuild/artifact/guvnor-distribution/target/guvnor-distribution-5.4.0-SNAPSHOT.zip
Best Regards,
-
16. Re: No save option in Designer
out_sider Feb 23, 2012 5:18 AM (in response to eaa)Thanks for the quick replies.
I tried adding an EventListener to the checkin button and force the iframe to reload. It does work (although a very fast error about connection problems does appear) but I'm going to try using the 5.4 version to see if I can get a nicer solution.
-
17. Re: No save option in Designer
out_sider Feb 23, 2012 6:17 AM (in response to eaa)I just tried the 5.4 version by doing the following:
Undeployed the drools-guvnor.war that was running on jboss
Added the guvnor-5.4.0-SNAPSHOT-jboss-as-7.0.war to the deployment folder and restarted the server.
Created a new BPMN2.0 model, added a start and end event with a task in the midle and saved...the designer refreshed and all the process information was lost...a message in the lower left corner of the designer left pallet said "unable to retrieve process information".
The guvnorEditorObject is now correct but I didn't try the register method because the save isn't working. I assume that there were changings in the rest communication with the repository which made the designer unable to save.
Also noticed that .css error were corrected ....many thanks for the help and time.
If more information about the 5.4 deployment is necessary please do tell.
Thanks again
-
18. Re: No save option in Designer
eaa Feb 23, 2012 6:21 AM (in response to out_sider)Well, I think you need to wait until 5.4 Final is out then
Best Regards,
-
19. Re: No save option in Designer
out_sider Feb 23, 2012 6:28 AM (in response to eaa)Nop...it was my fault ...sorry for that
I need to deploy the .war with the same name otherwise the web context is diferent and the designer will be looking for the repository in the wrong context...sorry ....I'm going to try the register call back.
-
20. Re: No save option in Designer
out_sider Feb 23, 2012 6:36 AM (in response to eaa)Yep...works perfectly...
Thank you so much for all the help...and very very nice work.
-
21. Re: No save option in Designer
out_sider Feb 23, 2012 12:44 PM (in response to eaa)Just one more litle thing:
I'm trying to retrieve the package's assets in the repository unsing the REST Api, as it is demonstrated here:
Used the sample from the video.
The problem is I'm getting Error 401 Unauthorized access. If I do it using the browser I have no problems. And if I do it using the browser cookie (Chrome console displays the GET header parameters on connection) I can also retrieve the data but not when my application is the first to initiate the request.
If I use the 5.3 version it works ok...no cookie needed. Can I do something to fix it?
-
22. Re: No save option in Designer
eaa Feb 27, 2012 3:35 AM (in response to out_sider)Are you using BASIC authentication when you do the first request?
Best Regards,
-
23. Re: No save option in Designer
out_sider Feb 27, 2012 4:35 AM (in response to eaa)I'm using the RESTEasy jboss framework to do the REST request and the only header parameters I pass with it are:
- Expects application/json (so I receive the packages' information in json)
- Charset = "UTF-8"
I'm not sending anything else...should I be? Because I can access through the browser just by doing that but not when I do it programaticly.
Again many thanks for the replies.
-
24. Re: No save option in Designer
out_sider Feb 27, 2012 7:15 AM (in response to eaa)Managed to do it in the REST that I control...but not when I try to load the bpmn2.0 using the knowledgeBuilder.add....when I do:
kbuilder.add(ResourceFactory.newUrlResource(base_url+pack+"/"+title+".bpmn2"), ResourceType.BPMN2);
I get 401 error and because I don't know how to inject Authorization=Basic username:password in the request controled by the add method I can't correct the error.
Should I go back to the previouse version or is it fixable?
-
25. Re: No save option in Designer
qntrix Mar 17, 2012 6:14 PM (in response to out_sider)Hello,
i have the same issue, but i don't understand how to solve it - what do you mean by "I need to deploy the .war with the same name"?
thx
-
26. Re: No save option in Designer
out_sider Mar 17, 2012 7:41 PM (in response to qntrix)What issue exactly?
When I downloaded the last version of guvnor I had to rename the war so it had the same name as the previous version's war....that's all.
What I couldn't resolve was the issue when loading the bpmn2.0 in the guvnor repository within the jbpm api due to not knowing how to insert authorization when downloading the knowledge base.
-
27. Re: No save option in Designer
qntrix Mar 18, 2012 12:37 PM (in response to out_sider)hello,
i've downloaded guvnor 5.3 stable and installed jbpm web designer 2.0 - couldn't save and afterwards 2.1 - still couldn't save
exactly as the name of this thread - although i am able to create processes, i cannot save anything
why? what's the problem? as there are the first downloaded - installed applications, i suppose it's not the same thing as your problem