Problem Description
When not using a System For Each Loop to iterate over the Instances of an Object Type, the Common Action Destroy will destroy all of the Object Type's Instances in the SOL of an Event. This is in contrast to the notion that one Instance of the Object Type should be destroyed at a time when the Action List of the Event runs against each Instance of the Object Type. Because this is not the case, Actions that perform before the Common Action Destroy in the Action List are only performed for the first Object Type Instance in the SOL before all of the Instances get destroyed.
In contrast, if a System For Each Loop is used instead, the Common Action Destroy in the Sub-Event will only destroy the currently picked Instance of the Object Type in the loop. This allows for the Actions performed before the Common Destroy Action in the Action List to occur for every Instance of the Object Type not just the first Object Type Instance in the SOL.
Attach a Capx
____ Upload a Capx to this post ____
Description of Capx
Should append the Text Property values of all Instances of Text Object Type to the Text Property of the one Instance of the Text2 Object Type upon
clicking one of the two Button Object Type Instances.
Steps to Reproduce Bug
- 1)Click on Button with the Text : 'Save Deleted Text Doesn't Work'
- 2)Refresh Browser
- 3)Click on Button with the Text: 'Save Deleted Text Does Work'
Observed Result
Performing Step 1) only appends:
Text 1
Performing Step 3) after Step 2) appends:
Text1
Text2
Text3
Expected Result
Both Step 1) or Step 3) should result in the following text appended:
Text1
Text2
Text3
Affected Browsers
- Chrome: YES
- FireFox: YES
- Internet Explorer: YES
Operating System and Service Pack
Windows 8 Pro 64-bit(6.2, Build 9200)
Construct 2 Version ID
Release 168(64-bit)