Uploaded image for project: 'ODE'
  1. ODE
  2. ODE-471

OScope redefines name field,which may cause some problem when casted to be OActivity

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.2
    • 1.4
    • None
    • Java 5

    Description

      OScope redefines name field,which may cause some problem when casted to be OActivity. For example,when you want to traverse all children'names of SEQUENCE activity,when it comes to SCOPE or INVOKE(generated as OScope by compiler) activity,you will get null,just see the following code:

      List<OActivity> remainingActivities= ((OSequence) _self.o).sequence;
      for (int i = 0; i < remainingActivities.size(); i++) {
      System.out.println(remainingActivities.get.name);
      }

      Attachments

        Activity

          People

            Unassigned Unassigned
            shammychen Shammy Chen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: