Issue 120218

Summary: [VCLAuto patch]The getID() can not find the menu item expected while there is any menu item which contains the string.
Product: QA Reporter: Shan Zhu <shanzhu33>
Component: testscriptsAssignee: automat <ooo-extensions-website_de>
Status: CLOSED FIXED QA Contact:
Severity: Major    
Priority: P3 CC: aliuzhe, issues
Version: OOO340m0   
Target Milestone: 4.0.0   
Hardware: All   
OS: All   
Issue Type: PATCH Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
test_20120709.patch none

Description Shan Zhu 2012-07-09 04:59:08 UTC
Created attachment 78594 [details]
test_20120709.patch

If there is a menu item which contains the string before the target item, it will return unexpected ID.
For example: To select menu "Edit->Sheet", if there is "Edit->Undo:Insert Sheet". 
It will not return the ID of the target menu item.

The .patch contains the bugfix and 2 new SC scripts to verify the fix.

Pls help to review it. Thanks.
Comment 1 aliuzhe 2012-07-09 06:09:07 UTC
Committed it. Revision: r1358925
Comment 2 Shan Zhu 2012-08-27 05:38:44 UTC
Committed into r1358925.