1 2 Previous Next 27 Replies Latest reply on Mar 18, 2012 12:37 PM by qntrix Go to original post
      • 15. Re: No save option in Designer
        eaa
        • 16. Re: No save option in Designer
          out_sider

          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

            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

              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

                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

                  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

                    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:

                     

                    http://vimeo.com/22033817

                     

                    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

                      Are you using BASIC authentication when you do the first request?

                       

                      Best Regards,

                      • 23. Re: No save option in Designer
                        out_sider

                        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

                          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

                            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

                              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

                                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

                                1 2 Previous Next