Container/SOL/Trigger/Picking error

Bugs will be moved here once resolved.

Post » Sat Nov 16, 2013 9:16 pm

Link to .capx file (required!):
https://www.dropbox.com/s/icpdvobyjk3k2s1/picking.capx

Steps to reproduce:
1. (run the layout, this is the explanation of what it does)

2. Put two text boxes, A and B, in a container
3. Create another box of type A (will create a B too)
4. Pick A and B both by UID (this step is critical to the bug)
5. call a function
6. in the function (which *should* have a fresh SOL)
6a. pick any box A (another B *should* be picked as well as they are in container)
6b. set an attribute of B, IT BREAKS! B is undefined.

Observed result:
"Type error, cannot read uid of undefined"

Expected result:
should change one of the text boxes to "hello", removing either of the 2 side-by-side pick by UIDs the program work fine.


Browsers affected:
Chrome: yes
Firefox: yes
Internet Explorer: yes

Operating system & service pack:

Construct 2 version:
r145
    
B
14
S
5
G
1
Posts: 60
Reputation: 1,052

Post » Mon Nov 18, 2013 2:22 pm

Can't reproduce in r150. Please only submit bug reports using the latest version of C2.
Scirra Founder
B
387
S
230
G
87
Posts: 24,249
Reputation: 192,250


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests