[jboss-dev-forums] [JBoss Tools Development] - [Struts Flow Editor Bug] any solution or advise for debuggin

keibun do-not-reply at jboss.com
Fri Nov 20 07:55:12 EST 2009


I found bug in "Struts Flow Editor".

my environment is 
  ----------------------
  Eclipse: 3.4.2
  Struts Tools: 3.0.1
  ----------------------

the bug I found is below
  ------------------------
  description:
     when "Action" has "Comment", drawing "Forward Link" causes
     some "Forward Link" line vanished.

 how to reproduce bug:
   1. you have "Action1" and "Action2"
   2. add Comment to "Action1"
   3. draw "Forward Link" line from "Action1" to "Action2".
   4. draw "Forward Link" line from "Action2" to "Action1".

   then line from Action2 to Aciton1 disappear from the screen.
   I found data file .strutsdia is not valid comparing to real struts-config.xml
  ------------------------

I want bug fix or adivise for debuggin.

I'm very new to Eclipse plugin developement,
but I set up my eclipse which can enable step debugging and fixing code.

I suspect struts data mode is corrupted when action has comment.

for the first step I want to compare data model of struts flow ui between
commented and not commented.

I want to dump data model at
/org.jboss.tools.struts/src/org/jboss/tools/struts/model/handlers/StrutsPasteHandler.java executeHandler().

Is there good way to dump XModelObject tree so as to 
get useful information?

any other useful debug technic is welcome.

regard.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266746#4266746

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266746



More information about the jboss-dev-forums mailing list