5 Replies Latest reply on Nov 25, 2010 4:14 AM by vcr

    presumable bug JPDL 4 Graphical Editor, erase <field>

      Hi guys.

      Is this a bug? I'm using JPDL 4 Graphical editor eclipse plugin.

      I have this process.

      <?xml version="1.0" encoding="UTF-8"?>
      
      <process name="Action" xmlns="http://jbpm.org/4.3/jpdl">
      
           <start g="93,16,48,52" name="start1">
                 <transition g="-57,-14" name="to Action" to="Action"/>
           </start>
      
           <custom class="it.vega.jbpm.demo.Action" g="66,98,92,52" name="Action">
                 <field name="action">
                <object expr="#{cra}">
                     <property name="keyword"><string value="NAME"/></property>
                </object>
              </field>
                 <transition g="-36,-18" name="to end" to="end"/>
           </custom>
      
      
              <state g="192,93,92,52" name="state1"/>
      
           <end g="75,228,92,52" name="end"/>
      
      </process>
      

       

      and the image is 1st attachement.

      When i insert a transition from <custom> to <state> in diagram mode (2.jpg)..and moving from diagram to source, i see <field> of my custom class erased and i see it how it is shown in 3.jpg.

      Any suggestions? Am i wrong something?

      Thanks in advance

       

      Ciccio