Summary: | TVT34:TCT775: TVT FR - Apostrophe issue in Generate DDL | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [WebTools] Dali JPA Tools | Reporter: | CDE Administration <cdeadmin> | ||||||
Component: | General | Assignee: | Karen Butzke <karenfbutzke> | ||||||
Status: | RESOLVED FIXED | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P3 | CC: | camle, hjzhang, karenfbutzke, kitlo, neil.hauge | ||||||
Version: | unspecified | Flags: | neil.hauge:
review+
|
||||||
Target Milestone: | 2.0.1 | ||||||||
Hardware: | PC | ||||||||
OS: | Linux-GTK | ||||||||
URL: | 775 | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
CDE Administration
2008-06-11 12:57:22 EDT
Created attachment 104507 [details]
3_001180_Apostrophe_GenerateDDL.png
<cde:tctdetail> Testcase: 3.001180 Project: WSW34 Component: Xfer - Web Tools/jst.jsp Priority: 2 Subject: TVT FR - Apostrophe issue in Generate DDL Article ID: 775 Originator: mmarin@fr.ibm.com </cde:tctdetail> [Added by CDE: Rejected by the CDE Bridge] [Added by CDE: Updated by the CDE Bridge because the corresponding problem has moved out of the bridge domain] <response_by> John Ryding at 2008.06.12.10.03.37 </response_by> This has been deferred. It will be considered for the 3.4.1 service pack. <cde:tctdetail> Testcase: 3.001180 Project: Component: Xfer - Web Tools/jst.jsp Priority: 2 Subject: TVT FR - Apostrophe issue in Generate DDL Article ID: 775 Originator: mmarin@fr.ibm.com </cde:tctdetail> This appears to be a translation issue, so guessing this should be an internal bug? I think the problem is in org.eclipse.jpa/components/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/internal/platform/generic/GenericPlatformUi.java protected void displayNotSupportedMessage(String title, String message) { String formattedMessage = MessageFormat.format(message, message); Shell currentShell = Display.getCurrent().getActiveShell(); MessageDialog.openInformation(currentShell, title, formattedMessage); } Normal practice is to process a string with MessageFormat ONLY IF it contains a subsitution variable like {0}. GenericPlatformUiDialog_notSupportedMessageText does not contain any subsitution variable. If the string is processed by MessageFormat, MessageFormat will remove the single quote. Created attachment 107864 [details]
proposed patch - HEAD
patch removes the MessageFormat call, this method is not used anywhere else and since there are not arguments it is not necessary to use MessageFormat.
checked in to HEAD, no branch for maintenance yet |