Uploaded image for project: 'Xporter for Jira Cloud'
  1. Xporter for Jira Cloud
  2. XPORTERCLOUD-1923

The #break command breaks the nested and also the parent loop

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Medium
    • Resolution: Won't Fix
    • None
    • None
    • Templates
    • None
    • Bugfixing
    • UNCOVERED

    Description

      Description
      When using a break command in a nested loop it breaks also the parent loop não executing the instructions after the break.

      Pre-conditions
      A template similar to the example in the attachment.

      It does not print the green commands, and it jumps to the next issue.

       

      How to reproduce

      1. Create a template with nested loops,
      2. Add a break in one of the nested loops,
      3. Execute the template

      Actual result/Attachments
      It breaks and it does not print nono of the remaining information (outside the breaking loop), jumping into the next information.

      Expected result
      Only break inside the loop where the command is found, and print the remaining information in the parent loop.

      Attachments

        Activity

          People

            bernardo.cottim Bernardo Cottim
            rmsp Rogerio Paiva [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: