PR# 17793 Application menu missing constants

Problem Report Summary
Submitter: manus_eiffel
Category: Other
Priority: Medium
Date: 2011/08/16
Class: Bug
Severity: Serious
Number: 17793
Release: 7.0.87022
Confidential: No
Status: Analyzed
Responsible: manus_eiffel
Environment: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1
Synopsis: Application menu missing constants

Description
When I chose to generate as `using the application mode', I got an error in the generated code in `create_interface_objects' of MAIN_WINDOW because `{COMMAND_NAME_CONSTANTS}.application_menu_1 was not defined


	create_interface_objects
			-- <Precursor>
		do
				-- Initialize before calling Precursor all the attached attributes
				-- from the current class.

				-- Proceed with vision2 objects creation.
			Precursor
			create ribbon.make
			create application_menu.make_with_command_list (<<{COMMAND_NAME_CONSTANTS}.application_menu_1>>)
			create help_button.make_with_command_list (<<{COMMAND_NAME_CONSTANTS}.help_button_1>>)
			create quick_access_toolbar.make_with_command_list (<<{COMMAND_NAME_CONSTANTS}.quick_access_toolbar_1>>)
		end
To Reproduce

										
Problem Report Interactions
From:larryl    Date:2011/08/18    Download   
Hi, Manu,

Unfortunately I cannot reproduce the bug with previous attached ribbon project. I have tried generate from scratch and re-generation, it works fine. My EiffelRibbon tool's revision is 87041, it's 32bits EiffelRibbon tool on 64bits Win7. 

From:manus_eiffel    Date:2011/08/17    Download   
Try with this project.

Attachment: eiffel_ribbon_1.xml     Size:1540
Attachment: ribbon_project.er     Size:503
From:larryl    Date:2011/08/17    Status: Analyzed    Download   
Hi, Manu,

When `Using Application Mode' has been checked, I have tried build a EiffelRibbon project from scratch, but cannot reproduce it. Then tried regenerated the EiffelRibbon example project `all_widgets_basic', but cannot reproduce it neither. I met this issue in the past, but don't know how to reproduce it yet.