| Summary: | OrganizationService failed to start when EPP5 is executed with different value of LANG environment variable | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Portal Platform 5 | Reporter: | mposolda | ||||
| Component: | unspecified | Assignee: | Thomas Heute <theute> | ||||
| Status: | CLOSED NEXTRELEASE | QA Contact: | |||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | urgent | ||||||
| Version: | 5.0.0.CR01 | CC: | epp-bugs | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 5.0.0.GA | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| URL: | http://jira.jboss.org/jira/browse/JBEPP-338 | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: |
EPP5 GA SNAPSHOT 100503,
Sun JDK 1.6,
Ubuntu 9.10,
Embedded HSQLDB and MySQL 5 as databases
|
|||||
| Last Closed: | 2010-05-06 16:02:40 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: | |||||
| Attachments: |
|
||||||
|
Description
mposolda
2010-05-06 12:12:32 UTC
And when EPP5 is started with cs_CZ.UTF8 agains clean DB, then I am seeing this in MySQL database: mysql> select * from jbid_io_attr, jbid_io_attr_text_values where jbid_io_attr.NAME='createdDate' and jbid_io_attr.ATTRIBUTE_ID=jbid_io_attr_text_values.TEXT_ATTR_VALUE_ID; +--------------+--------------------+-------------+----------------+--------------+--------------------+--------------+ | ATTRIBUTE_ID | IDENTITY_OBJECT_ID | NAME | ATTRIBUTE_TYPE | BIN_VALUE_ID | TEXT_ATTR_VALUE_ID | ATTR_VALUE | +--------------+--------------------+-------------+----------------+--------------+--------------------+--------------+ | 35 | 18 | createdDate | text | NULL | 35 | 6.5.10 13:04 | | 39 | 19 | createdDate | text | NULL | 39 | 6.5.10 13:04 | | 43 | 20 | createdDate | text | NULL | 43 | 6.5.10 13:04 | | 52 | 21 | createdDate | text | NULL | 52 | 6.5.10 13:04 | +--------------+--------------------+-------------+----------------+--------------+--------------------+--------------+ When EPP5 is started with en_US.UTF8 agains clean DB, then I am seeing this in MySQL database: mysql> select * from jbid_io_attr, jbid_io_attr_text_values where jbid_io_attr.NAME='createdDate' and jbid_io_attr.ATTRIBUTE_ID=jbid_io_attr_text_values.TEXT_ATTR_VALUE_ID; +--------------+--------------------+-------------+----------------+--------------+--------------------+----------------+ | ATTRIBUTE_ID | IDENTITY_OBJECT_ID | NAME | ATTRIBUTE_TYPE | BIN_VALUE_ID | TEXT_ATTR_VALUE_ID | ATTR_VALUE | +--------------+--------------------+-------------+----------------+--------------+--------------------+----------------+ | 33 | 18 | createdDate | text | NULL | 33 | 5/6/10 1:24 PM | | 39 | 19 | createdDate | text | NULL | 39 | 5/6/10 1:24 PM | | 46 | 20 | createdDate | text | NULL | 46 | 5/6/10 1:24 PM | | 49 | 21 | createdDate | text | NULL | 49 | 5/6/10 1:24 PM | +--------------+--------------------+-------------+----------------+--------------+--------------------+----------------+ So format of saved data is dependent on environment variable LANG. Attachment: Added: lang_orgService-exception.txt Link: Added: This issue is related to GTNPORTAL-1166 Retest OK with EPP5 GA signed version. I tested with HSQLDB and MySQL and I verified that date is daved in Picketlink DB as "long" now, so it's independent on Locale. |