Typo in Dictionary obj condition text?

Bugs will be moved here once resolved.

Post » Thu Oct 02, 2014 2:05 am

Problem Description
For the Dictionary object, there's a possible typo in its event-block condition text.
When the Dictionary object's, condition "Compare current value" is added to an event, the resulting condition in the event block reads "Current key = " instead of "Current value = "


Attach a Capx
bug - Dictionary typo.capx


Description of Capx
This capx shows two examples of the Dictionary condition text typo.
(See the event sheet. It includes comments.)


Steps to Reproduce Bug
  • 1. Open a new project.
  • 2. Add a Dictionary object.
  • 3. In the event editor, create a new event, and as the condition, choose the Dictionary's "Compare current value" condition.
  • 4. In the condition parameters dialog, leave the settings as they are ("equal to" and "0") and click the "Done" button.
  • 5. In the newly created event block, notice the wording of the text in the compare current value condition. It says s "Current key = 0" instead of "Current value = 0"




Visual Walk-through:
Image

Another example where the confusing nature of the typo might be a little clearer.
Image




Observed Result
When the Dictionary object's, condition "Compare current value" is added to an event, the resulting condition in the event block reads "Current key = "


Expected Result
Perhaps it should instead read "Current value = "


Affected Browsers
  • Chrome: n/a (the bug is only visible at edit time, within the C2 application.)
  • FireFox: n/a
  • Internet Explorer: n/a

Operating System and Service Pack
Win 7 Pro - SP1


Construct 2 Version ID
Release 178 (64-bit)
Built at 19:13:26 on Aug 19 2014

Identified as "Stable update r178" in release notes.
You do not have the required permissions to view the files attached to this post.
B
27
S
18
G
8
Posts: 331
Reputation: 6,164

Post » Thu Oct 02, 2014 12:22 pm

Oops, well spotted. Fixed the display text for the next beta.
Scirra Founder
B
399
S
236
G
89
Posts: 24,519
Reputation: 195,361


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 7 guests