Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 357360

Summary: Wrong Validation message in NewNameStateObject
Product: [WebTools] Dali JPA Tools Reporter: Dmitry Geraskov <geraskov>
Component: GeneralAssignee: Neil Hauge <neil.hauge>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jolene.moffitt, karenfbutzke, neil.hauge
Version: unspecified   
Target Milestone: 3.0.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Changed Message neil.hauge: iplog+

Description Dmitry Geraskov CLA 2011-09-12 06:12:08 EDT
Build Identifier: I20110613-1736

org.eclipse.jpt.common.ui.internal.widgets.NewNameStateObject is created like a common object, but validation message seems like the object is created for Queries:
"A query with this name already exists."



Reproducible: Always

Steps to Reproduce:
1. Use NewNameDialogBuilder to create a dialog for new object name
(I didn't find any usage in plugins)
2. Enter existing name
FAILURE: "A query with this name already exists." is shown, but you can use the dialog not for queries
Comment 1 Dmitry Geraskov CLA 2011-09-12 06:13:11 EDT
Created attachment 203138 [details]
Changed Message

The patch which changes the message attached
Comment 2 Neil Hauge CLA 2011-09-12 09:19:06 EDT
Thanks for the patch.
Comment 3 Neil Hauge CLA 2012-01-06 15:21:08 EST
Patch committed.
Comment 4 Jolene Moffitt CLA 2012-02-12 20:33:32 EST
Verified in Build M-3.3.2-20120207225832 

Verified jpt_common_ui.properties file which resides in org.eclipse.jpt.common.ui jar file in the Plug-ins folder was updated to say An object with this name already exists.  See the link to view test steps for verification. http://wiki.eclipse.org/Dali_3.0.2