PR# 17427 EiffelBuild offers non-existant "text_change_actions" option
Problem Report Summary
Submitter: djenkins99
Category: EiffelBuild
Priority: Medium
Date: 2011/03/19
Class: Bug
Severity: Serious
Number: 17427
Release: 6.7
Confidential: No
Status: Closed
Responsible:
Environment: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110303 Ubuntu/10.04 (lucid) Firefox/3.6.15
Synopsis: EiffelBuild offers non-existant "text_change_actions" option
Description
EiffelBuild includes a "text_change_actions" option in the list of possible events for an EV_TEXT_FIELD. It dutifully creates a call to "text_change_actions.extend" in the generated code. But there is no "text_change_actions" feature in EV_TEXT_FIELD, so when compiled the generated code throws a VEEN error.
To Reproduce
1. Add an EV_TEXT_FIELD to an EiffelBuild window. 2. Select the TEXT_FIELD in the layout constructor and click "Select events" in the object editor. 3. Click "text_change_actions" in the Event Selection dialog. 4. Close dialog; save and generate code. 5. Compile in EiffelStudio. I haven't checked whether this works in Windows (i.e., either "text_change_actions" is a feature of EV_TEXT_FIELD, or the option is not available in EiffelBuild). It's definitely broken though for Linux.
Problem Report Interactions
This issue is now fixed in rev#86111 for the 6.8 release.
`text_select_actions' are only for EV_SPIN_BUTTON and should not have appeared for an EV_TEXT_FIELD. For the time being, only select the `change_actions' and leave the `text_change_actions' unchecked. This issue will be fixed for the final 6.8 release.