Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.4.0, 4.5.0, 4.6.0, 4.7.0, 5.0, 5.1, 5.2, 5.3
-
None
-
Castor Core S1, Castor Core S2, Castor Core S3
Description
When updating the object's alias for a content translation that already existed, the alias history no longer refers to that translation.
This results in the history url not being available for any siteacces that does not use other languages.
Steps to reproduce:
- For test purposes, make sure there is an 'eng' (default) and 'fre' language / siteaccess
- Verify the following [RegionalSettings] for the 'fre' siteaccess:
ShowUntranslatedObjects=disabled SiteLanguageList[] SiteLanguageList[]=fre-FR
- Create an article 'Article1' in Eng,
- Add a new translation, 'Article1' in Fre
- Update the Fre translation to 'Article2'
- On the frontend, using the 'fre' siteaccess, verify that the old 'Article1' alias (history) is not reachable.
Expected Result:
The old url alias should be kept, referring to the new 'Fre' content translation
(see https://doc.ez.no/eZ-Publish/Technical-manual/4.x/Features/Multi-language-support-for-URL-aliases , "URL history entries" )
Other notes:
In the ezurlalias_ml table, the language mask for the alias history is updated and the code for 'Fre' translation is removed.
Before:
+------------+-----+-----------+-------------+ | action | id | lang_mask | text | +------------+-----+-----------+-------------+ | eznode:119 | 106 | 4 | Article1 | +------------+-----+-----------+-------------+
After:
+------------+-----+-----------+-------------+ | action | id | lang_mask | text | +------------+-----+-----------+-------------+ | eznode:119 | 106 | 2 | Article1 | | eznode:119 | 106 | 4 | Article2 | +------------+-----+-----------+-------------+
Attachments
Issue Links
- relates to
-
EZP-14787 Url alias errors when changing translation currently shared with other translations.
- Closed
-
EZP-20777 Legacy Storage URL alias design problems: custom alias path can be implicitly changed
- Closed
-
EZP-24107 ezUrlAlias redirection in multilingual site returns "Module not found"
- Closed