Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-8042

BPEL validator does not recognize counter variable inside forEach.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 3.2.0.CR1
    • 3.2.0.Beta2, 3.2.0.CR1
    • bpel
    • None

    Description

      The declared counter variable in the following code snippet is marked by the validator red (see attached image).

      CODE

      ...
      <bpel:variable name="number" type="xsd:int"/>
      ...
      <bpel:forEach parallel="no" counterName="counter" name="ForEach">
      <bpel:startCounterValue><![CDATA[1]]></bpel:startCounterValue>
      <bpel:finalCounterValue><![CDATA[10]]></bpel:finalCounterValue>
      <bpel:scope name="Scope">
      <bpel:assign validate="no" name="Assign">
      <bpel:copy>
      <bpel:from variable="counter"/>
      <bpel:to variable="number"/>
      </bpel:copy>
      </bpel:assign>
      </bpel:scope>
      </bpel:forEach>

      Attachments

        Issue Links

          Activity

            People

              bbrodt_jira Robert (Bob) Brodt (Inactive)
              mbaluch@redhat.com Marek Baluch
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: