? ? ? Pending

User tests: Successful: Unsuccessful:

avatar infograf768
infograf768
1 Sep 2020

Summary of Changes

As title says

Testing Instructions

Multilingual site.
Until #30496 make its way to J4, easier way to test is

  1. Enter only symbols like % or & in the URL Language Code field

  2. Unicode Alias being set to No in Global Configuration.
    Example while admin language is en-GB, enter the multibytes Greek characters αω

In these cases there is not yet any error when saving the Content Language, but the URL Language Code (sef) is empty.

In any case, an error may have happened and the sef may be empty in the db.

Patch, modify and save the URL Language Code of one of the Content Languages to save it empty as explained above.

Screen Shot 2020-09-01 at 11 02 32

Display the Multilingual Status module modal window.

Expected result AFTER applying this Pull Request

The multilingual status module will now display an error.

Screen Shot 2020-09-01 at 11 03 05

Documentation Changes Required

avatar infograf768 infograf768 - open - 1 Sep 2020
avatar infograf768 infograf768 - change - 1 Sep 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 1 Sep 2020
Category Administration com_languages Language & Strings
avatar zero-24
zero-24 - comment - 1 Sep 2020

hmm should's such a warning not better be a postinstall? given that this is an error that can only happen on sites older than 3.9.22 right?

avatar infograf768
infograf768 - comment - 1 Sep 2020

As I stated in the description, it may also happen if the db is corrupted and the sef column is empty for a reason or another.
We have no example of this ever happening on the forums. So it is just to be on the safe side.
I think a postinstall would be excessive.

avatar zero-24
zero-24 - comment - 1 Sep 2020

Ok, fine for me.

avatar Formatio-hippocampi Formatio-hippocampi - test_item - 2 Sep 2020 - Tested successfully
avatar Formatio-hippocampi
Formatio-hippocampi - comment - 2 Sep 2020

I have tested this item successfully on 3cbc6be

Used "&" in URL Language Code > the multilingual status module display an error.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30537.

avatar infograf768 infograf768 - change - 2 Sep 2020
Labels Added: ? ?
avatar Quy Quy - test_item - 2 Sep 2020 - Tested successfully
avatar Quy
Quy - comment - 2 Sep 2020

I have tested this item successfully on bb0bf15


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30537.

avatar infograf768 infograf768 - change - 3 Sep 2020
Status Pending Ready to Commit
avatar infograf768
infograf768 - comment - 3 Sep 2020

RTC as the last change is only a small modification of the string value.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30537.

avatar zero-24 zero-24 - close - 4 Sep 2020
avatar zero-24 zero-24 - merge - 4 Sep 2020
avatar zero-24 zero-24 - change - 4 Sep 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-09-04 18:21:34
Closed_By zero-24
Labels Added: ?
avatar zero-24
zero-24 - comment - 4 Sep 2020

Merging thanks.

Add a Comment

Login with GitHub to post a comment