1 Reply Latest reply: Jun 19, 2012 4:38 AM by gigazhang RSS

    JBPM Web Designer 2.1

    gigazhang Newbie

      minimal:     jBPM BPMN2 (Minimal)

      full:            jBPM BPMN2 (Full)

       

      When i switch the minimal to full throwing a exception

       

      b is undefined

      http://localhost:8080/designer/jsc/env_combined.js

      Line 218

       

       

      i can't found this file in the designer project, but it exits in the folder at the tomcat webapps folder.

       

       

      I found the js file rules.js whill throw the exception

      I change the code like follow:

       

      rules.baseMorphs.each((function(baseMorphStencilId){

                              var stencil = "";

                              try{

                                  stencil = this._getStencilById(namespace + baseMorphStencilId);

                              }catch(e){}

                              if(stencil != undefined && stencil != ""){

                                  morphr[morphrKey].push(this._getStencilById(namespace + baseMorphStencilId));

                              }

                          }).bind(this));

       

       

      but this time throw the other exception like following:

       

      a is undefined

      http://localhost:8080/designer/jsc/env_combined.js

      Line 241

       

      My god help me yeah