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); ===
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