WCM: Special characters are not saved properly in the database

Description

Special characters as tilde and spanish 'ñ' are not saved in WCM.

1) New Web Content
2) Type 'camión' as title
3) Type 'camión' as description

The special characters will be saved in the database as wrong characters, so web content display portlet retrieves the bad values.

If the special characters are forced in the database, the web content display portlet retrieves it well.

Activity

Show:

Sophia.Zhang February 10, 2012 at 1:33 AM

PASSED Manual Testing following the steps in the description.

Reproduced on:
Tomcat 7.0 + MySQL 5. 6.1.x GIT ID: 74db3391fdb2aac5d417636c22ceb59fbde9a306

For some reason, the Spanish "ñ" will become "ñ" in database and Web Content display portlet.

Fixed on:

Tomcat 7.0 + MySQL 5. 6.1.x GIT ID: 42f543b72841f5012e3453741a83c43521ee9dfd.
Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: dd665fe4dce10233d0f25035c5e9a81233ab65ff.

The Spanish words display correctly in database and in Web Content display portlet.

Michael Saechang February 9, 2012 at 5:12 PM

Committed on:
6.1.x GIT ID: a70b224e1ac8ce919f4ac49edfc4dffabd8df151.
6.2.x GIT ID: 22f8967064c8834e74896fd82aae43d879808cab.

Juan Fernández February 9, 2012 at 8:37 AM

This error was mostly provoked because of the weird way of setting a property ("setString" is not a correct name for a function): that lead to think this wasn't necessary

Michael Han February 7, 2012 at 7:10 AM

similar to the problem for , just affects different fields

Fixed

Details

Assignee

Reporter

Branch Version/s

6.1.x

Backported to Branch

Committed

Fix Priority

4

Caused by

Other bug fix

Where was the bug?

Java

Git Pull Request

Bug Type

Regression Bug

Components

Affects versions

Priority

Zendesk Support

Created February 7, 2012 at 1:00 AM
Updated June 24, 2023 at 3:50 PM
Resolved March 12, 2012 at 2:27 PM
Loading...