Date format validation issue 9Warning "Value is not Valid") in RTC Eclipse Client
Steps to reproduce:
1. Download Eclipse IDE from eclipse.org
2. Download "p2 Install Repository" from jazz.net
3. Start Eclipse IDE and install RTC Client from p2 repository into the
IDE
4. Create RTC Repository Connection, connect to a Project Area based on
the default Formal template
5. Create a new Task Work Item
6. Set "Constraint Type" to "Start No Earlier Than"
7. Use the Picker to select a "Constraint Date"
=> Warning "Value is not Valid" is indicated
8. Set Task Summary and try to save the Work Item
=> "Save Work Item" operation fails with message: Attribute
"Constraint Date" not set .
9. If date value is manually set to "May 13, 2016", the warning
disappears
=> This indicates that the German language format setting is taken into
account for display, but not for the validation of the value
Environment Details:
- Windows 7 (English) and Language Format set to German
- Eclipse Luna SR2 or Mars.2
- RTC 6.0.1
1. Download Eclipse IDE from eclipse.org
2. Download "p2 Install Repository" from jazz.net
3. Start Eclipse IDE and install RTC Client from p2 repository into the
IDE
4. Create RTC Repository Connection, connect to a Project Area based on
the default Formal template
5. Create a new Task Work Item
6. Set "Constraint Type" to "Start No Earlier Than"
7. Use the Picker to select a "Constraint Date"
=> Warning "Value is not Valid" is indicated
8. Set Task Summary and try to save the Work Item
=> "Save Work Item" operation fails with message: Attribute
"Constraint Date" not set .
9. If date value is manually set to "May 13, 2016", the warning
disappears
=> This indicates that the German language format setting is taken into
account for display, but not for the validation of the value
Environment Details:
- Windows 7 (English) and Language Format set to German
- Eclipse Luna SR2 or Mars.2
- RTC 6.0.1
One answer
Since Eclipse Luna SR2 was using below java version ( Oracle)
java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.8.0_71-b15
After changing java version in RTC Eclipse client P2, using default IBM supported version in eclipse.ini
-vm C:\RTC-Client-Win64-6.0.1\jazz\client\eclipse\jdk\jre\bin
to eclipse.ini, the validation problem disappeared.
java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.8.0_71-b15
After changing java version in RTC Eclipse client P2, using default IBM supported version in eclipse.ini
-vm C:\RTC-Client-Win64-6.0.1\jazz\client\eclipse\jdk\jre\bin
to eclipse.ini, the validation problem disappeared.
Comments
Arun K Sriramaiah
Jul 07 '16, 5:25 a.m.http://www-01.ibm.com/support/docview.wss?uid=swg21389087
https://jazz.net/forum/questions/91421/how-to-change-date-format-in-workitem-query-output-currently-incompatible-with-excel
Arun K Sriramaiah
Jul 07 '16, 5:26 a.m.Thus we cannot add options like -nl or
-Dosgi.nl to eclipse.ini by default in order to set the language. The
client is deployed from a central repository