| Summary: | Creating pages or portal with same name, but uppercase doesn't work with MySQL and MSSQL | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Portal Platform 5 | Reporter: | Michal Vanco <mvanco> | ||||
| Component: | Portal | Assignee: | Thomas Heute <theute> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 5.0.0.GA, 5.0.1.GA | CC: | epp-bugs, mvecera | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 5.1.0.ER03 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| URL: | http://jira.jboss.org/jira/browse/JBEPP-334 | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: |
EPP5-GA-SNAPSHOT-100503
DB - mssql 05 or 08 or mysql
|
|||||
| Last Closed: | 2010-10-19 13:08:31 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
Michal Vanco
2010-05-05 12:41:04 UTC
IMO, we should not allow two portal/pages with same name but different case. I can create page with names that only vary by case, but not with portals. The issue it that in the table JCR_SITEM the field NAME is set as a varchar and in mysql varchar is case insensitive. The field doesn't actually store the portal name, its used as a reference to get to the data that does store it. We can still have a portal name that contains upper and lower case letters with out issue. The easiest way to fix this issue is to not let mysql use VARCHAR to setup the table, we need to use something else which is case sensitive. If we switch from VARCHAR to VARBINARY then it will work. patch to fix this issue for mysql. It just changes the JCR_SITEM NAME to use VARBINARY instead of VARCHAR Attachment: Added: jcr_mysql_portal_name.patch Attachment: Removed: jcr_mysql_portal_name.patch Attachment: Added: jcr_mysql_portal_name.patch |