Loading...
 
Skip to main content

Can’t rename a page containing an Alias

Status
Closed
Subject
Can’t rename a page containing an Alias
Version
22.x
Category
  • Error
Feature
i18n (Multilingual, l10n, Babelfish)
Wiki (page view, edit, history, rename, etc)
Resolution status
Fixed or Solved
Submitted by
Bernard Sfez / Tiki Specialist
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

On a Tiki22 with multilingual set to 3 languages I had to correct a typo on a wiki page name in hebrew; removing an extra space. This page as an alias (see later)

On "rename page" I got a system error:

Copy to clipboard
System error. חזרה הודעת שגיאה זו: Data too long for column 'href' at row 1 The query was: update `tiki_objects` set `itemId`=?,`name`=?,`href`=? where `itemId`=? and `type`=? Values: בניית אתרים טיקי ויקי ונותן פתרונות ווב אפ מוכנים לשימוש מיידי בניית אתרים טיקי ויקי ונותן פתרונות ווב אפ מוכנים לשימוש מיידי tiki-index.php?page=%D7%91%D7%A0%D7%99%D7%99%D7%AA+%D7%90%D7%AA%D7%A8%D7%99%D7%9D+%D7%98%D7%99%D7%A7%D7%99+%D7%95%D7%99%D7%A7%D7%99+%D7%95%D7%A0%D7%95%D7%AA%D7%9F+%D7%A4%D7%AA%D7%A8%D7%95%D7%A0%D7%95%D7%AA+%D7%95%D7%95%D7%91+%D7%90%D7%A4+%D7%9E%D7%95%D7%9B%D7%A0%D7%99%D7%9D+%D7%9C%D7%A9%D7%99%D7%9E%D7%95%D7%A9+%D7%9E%D7%99%D7%99%D7%93%D7%99 בניית אתרים טיקי ויקי ונותן פתרונות ווב אפ מוכנים לשימוש מיידי wiki page The built query was likely: update `tiki_objects` set `itemId`='בניית אתרים טיקי ויקי ונותן פתרונות ווב אפ מוכנים לשימוש מיידי',`name`='בניית אתרים טיקי ויקי ונותן פתרונות ווב אפ מוכנים לשימוש מיידי',`href`='tiki-index.php'בניית אתרים טיקי ויקי ונותן פתרונות ווב אפ מוכנים לשימוש מיידי'page=%D7%91%D7%A0%D7%99%D7%99%D7%AA+%D7%90%D7%AA%D7%A8%D7%99%D7%9D+%D7%98%D7%99%D7%A7%D7%99+%D7%95%D7%99%D7%A7%D7%99+%D7%95%D7%A0%D7%95%D7%AA%D7%9F+%D7%A4%D7%AA%D7%A8%D7%95%D7%A0%D7%95%D7%AA+%D7%95%D7%95%D7%91+%D7%90%D7%A4+%D7%9E%D7%95%D7%9B%D7%A0%D7%99%D7%9D+%D7%9C%D7%A9%D7%99%D7%9E%D7%95%D7%A9+%D7%9E%D7%99%D7%99%D7%93%D7%99' where `itemId`='wiki page' and `type`=?


I refreshed and it seems ok the page is here but then had a notice that the Alias in the page is already used on another page. Both page name are the same on the message, but when I click on the page name it display Tiki search and the value in the search field is the page name WITH the double space.

None of the links pointing to the alias are working they all send me to "the page doesn’t exist" (page name with a single space)

I re-built index, refreshed cache... same. Different browser...

I had no choice but to rename back with the typo error to get out of it.

INSTANCE
Sorry I created an instance at show and after 3h it is still not completed. I moved to something else...

Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7559
Created
Wednesday 07 October, 2020 05:42:31 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Wednesday 30 November, 2022 06:53:28 UTC


Show PHP error messages