Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357360 - Wrong Validation message in NewNameStateObject
Summary: Wrong Validation message in NewNameStateObject
Status: VERIFIED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0.2   Edit
Assignee: Neil Hauge CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-12 06:12 EDT by Dmitry Geraskov CLA
Modified: 2012-02-12 20:33 EST (History)
3 users (show)

See Also:


Attachments
Changed Message (801 bytes, patch)
2011-09-12 06:13 EDT, Dmitry Geraskov CLA
neil.hauge: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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