Details
-
Bug
-
Resolution: Timed out
-
Low
-
None
-
5.6.3, 5.9.6, 5.9.7
-
1
-
Severity 3 - Minor
-
Description
Summary
When exporting a page that has an apostrophe ’ in its title, the XML result will change it to a single quote ' instead.
If you have a another page PageA linked to the page with apostrophe title for example Test ABC’s, the internal link escapes the apostrophe properly in the URL but the page name has already changed to Test ABC's after the import. So the link will fail.
Environment
Reproduced on 5.6.3, 5.9.6, 5.9.7
Steps to Reproduce
- Create a new page with this name Test ABC’s
- Create another page PageA and insert a link to the page Test ABC’s
- Save and export those pages by XML backup
- Import the XML
Expected Results
Both pages should be imported successfully with the proper names and the internal link should be working.
Actual Results
PageA is imported properly, but the other page title becomes Test ABC's instead of Test ABC’s. Internal link is broken as well because the page name has changed.
Workaround
The workaround is to update the page title from the database manually
UPDATE CONTENT SET TITLE = REPLACE(TITLE, 'ABC''s', 'ABC’s') WHERE SPACEID = <space_id> AND TITLE = 'Test ABC''s'