| Summary: | Missing bundle key in JPQL validation | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] Dali JPA Tools | Reporter: | Neil Hauge <neil.hauge> | ||||
| Component: | JPA | Assignee: | Pascal Filion <pascal.filion> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | jolene.moffitt | ||||
| Version: | 3.0.1 | Flags: | neil.hauge:
review+
|
||||
| Target Milestone: | 3.0.2 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 204407 [details]
Fix for invalid syntax in .properties file
The properties file is converted from Hermes' ResourceBundle class, the key described in the bug had a space after the closing doule quote:
COLLECTION_VALUED_PATH_EXPRESSION_NOT_RESOLVABLE" , "
which resulted in not being converted in a find/replace operation.
Please check in to 3.0.x stream. Checked in the fix into 3.0.x stream Verified in Build M-3.3.2-20111010170035 Verified you add the a query and then backspace without error. See the link to view test steps for verification. http://wiki.eclipse.org/Dali_3.0.2 |
I am seeing an exception when backspacing at the following location in the Details view on an Named Query in an ORM XML Entity: Select o from Owner o JOIN o.pets[cursor] I get: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key COLLECTION_VALUED_PATH_EXPRESSION_NOT_RESOLVABLE at java.util.ResourceBundle.getObject(ResourceBundle.java:374) at java.util.ResourceBundle.getString(ResourceBundle.java:334) at org.eclipse.jpt.jpa.ui.internal.jpql.JpaJpqlContentProposalProvider.buildMessage(JpaJpqlContentProposalProvider.java:322) at org.eclipse.jpt.jpa.ui.internal.jpql.JpaJpqlContentProposalProvider.validate(JpaJpqlContentProposalProvider.java:584) at org.eclipse.jpt.jpa.ui.internal.jpql.JpaJpqlContentProposalProvider.access$10(JpaJpqlContentProposalProvider.java:567) at org.eclipse.jpt.jpa.ui.internal.jpql.JpaJpqlContentProposalProvider$6.modifyText(JpaJpqlContentProposalProvider.java:330)