Bug 1120920
| Summary: | Creating VDBs in JBDS Teiid Designer give "Unparseable Date" exceptions | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Data Virtualization 6 | Reporter: | Hisao Furuichi <hfuruich> |
| Component: | Tooling | Assignee: | Van Halbert <vhalbert> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.0.0 | CC: | asmigala, dlesage, vhalbert |
| Target Milestone: | ER2 | ||
| Target Release: | 6.1.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
If the JVM's locale was set to a language other than English, when a user tried to create a VDB they would encounter an "Unparseable date" exception. This has now been rectified so users with non-English locales can create VDBs without encountering this problem.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-11-17 18:07:28 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
I realized that my previous comment was not correct. "Actual results" and "Expected results" are opposite. This is the correct info: === Steps to Reproduce: 1. set jvm's local to non-English (ex. ja) 2. start JBDS 3. create a VDB in the Teiid Desginer Actual results: The Designer keeps coming back with the exception: * Unparseable date: "Mon Jun 23 16:43:40 CEST 2014" Expected results: User can create a VDB without any exception. === I apologize for it. Thx Barry LaFond <blafond> updated the status of jira TEIIDDES-2255 to Resolved Barry LaFond <blafond> updated the status of jira TEIIDDES-2255 to Closed |
Description of problem: If a local for jvm is not English, user can not create a VDB in the Teiid Designer. The Designer keeps coming back with the exception: * Unparseable date: "Mon Jun 23 16:43:40 CEST 2014" Version-Release number of selected component (if applicable): Teiid Designer for JBDS 8.3.3.Final-v20140613-1202-B88 Steps to Reproduce: 1. set jvm's local to non-English (ex. ja) 2. start JBDS 3. create a VDB in the Teiid Desginer Actual results: User can create a VDB without any exception. Expected results: The Designer keeps coming back with the exception: * Unparseable date: "Mon Jun 23 16:43:40 CEST 2014" Additional info: In org.teiid.designer.vdb.Vdb.java, SimpleDateFormat is instantiated without setting a local at Line 308. I think following code will solve this issue. === SimpleDateFormat format = new SimpleDateFormat("EEE MMM dd HH:mm:ss zzz yyyy", java.util.Locale.ENGLISH); ===