?
avatar PhilETaylor
PhilETaylor
21 Jun 2020

Steps to reproduce the issue

In Joomla 4 admin create a new module (any type)
On the right search the position to be "sidebar", and select Sidebar-right [sidebar-right]
Click save

Expected result

The position display value to still be Sidebar-right [sidebar-right]

Screenshot 2020-06-21 at 21 17 08

Actual result

sidebar-right

(But note that Sidebar-right [sidebar-right] is still an option in the dropdown, the bug is purely the default visual value on page load)

Screenshot 2020-06-21 at 21 17 13

System information (as much as possible)

Safar on Mac

Additional comments

avatar PhilETaylor PhilETaylor - open - 21 Jun 2020
avatar joomla-cms-bot joomla-cms-bot - change - 21 Jun 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 21 Jun 2020
avatar PhilETaylor PhilETaylor - change - 21 Jun 2020
The description was changed
avatar PhilETaylor PhilETaylor - edited - 21 Jun 2020
avatar ReLater
ReLater - comment - 21 Jun 2020

The main problem is that "Sidebar-Right" could be a translated string coming from a template language sys.ini file.

If you have 2 templates and both have a position sidebar-right and one is translating the position label as My nice sidebar right and the other is translating it as My ugly sidebar right which one should be displayed?
The same behavior like in Joomla 3.
Compare:
https://github.com/joomla/joomla-cms/blob/staging/templates/protostar/language/en-GB/en-GB.tpl_protostar.sys.ini#L18
https://github.com/joomla/joomla-cms/blob/staging/templates/beez3/language/en-GB/en-GB.tpl_beez3.sys.ini#L17

avatar PhilETaylor PhilETaylor - change - 22 Jun 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-06-22 07:30:32
Closed_By PhilETaylor
avatar PhilETaylor PhilETaylor - close - 22 Jun 2020
avatar PhilETaylor
PhilETaylor - comment - 22 Jun 2020

So a won’t fix. Ok

Add a Comment

Login with GitHub to post a comment