User tests: Successful: Unsuccessful:
Pull Request for Issue # https://issues.joomla.org/tracker/joomla-cms/22658
File: en-GB.ini
Location: \administrator\language\en-GB
Current Language String:
JHELP_MENUS_MENU_ITEM_PRIVACY_CREATE_REQUEST=" Menus_Menu_Item_Privacy_Create_Request"
Expected Language String:
JHELP_MENUS_MENU_ITEM_PRIVACY_CREATE_REQUEST="Menus_Menu_Item_Privacy_Create_Request"
Without the change (ie. with the leading space in the language value), Runtime Exception would occur in the Help screen.
Removing the leading space in the language value will display the correct Help screen.
(i) New Menu Item
(a) Create a new menu item of the type Create Request (This menu item type is under the group Privacy)
(b) After choosing the menu item of the type Create Request, in the resultant screen (Menus: New Item) click on the button Help
(ii) Existing Menu Item
(a) Open a menu item of the type Create Request for Edit
(b) In the resultant screen (Menus: Edit Item) click on the button Help
In both the cases (i) and (ii) the following Help screen with the error will show, as seen in the section Actual result.
Due to the leading space in the language string value, the Help screen URL created is:
https://help.joomla.org/proxy?keyref=Help39:%20Menus_Menu_Item_Privacy_Create_Request&lang=en
This URL would result in:
RuntimeException
Error fetching page from MediaWiki API.
With the leading space removed in the language string value, the Help screen URL created is:
https://help.joomla.org/proxy?keyref=Help39:Menus_Menu_Item_Privacy_Create_Request&lang=en
The URL would result in:
Menus Menu Item Privacy Create Request
Status | New | ⇒ | Pending |
Category | ⇒ | Administration Language & Strings |
Status | Pending | ⇒ | Ready to Commit |
Obvious error. RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-10-16 05:20:17 |
Closed_By | ⇒ | infograf768 | |
Labels |
Added:
?
|
@imanickam
Please inform TTs of this change.
Done.
I have tested this item✅ successfully on 709866a
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/22658.