? ? Pending

User tests: Successful: Unsuccessful:

avatar dgrammatiko
dgrammatiko
5 Dec 2021

Pull Request for Issue #36218 .

Summary of Changes

  • Load the language files similar to
    // Load the core and/or local language file(s).
    $lang->load('tpl_' . $template, $client->path)
    || (!empty($data->parent) && $lang->load('tpl_' . $data->parent, $client->path))
    || (!empty($data->parent) && $lang->load('tpl_' . $data->parent, $client->path . '/templates/' . $data->parent))
    || $lang->load('tpl_' . $template, $client->path . '/templates/' . $template);
    so that inheritance is followed correctly.

Testing Instructions

Goto /administrator/index.php?option=com_templates&view=template and check the description for a child template

Actual result BEFORE applying this Pull Request

Weird text

Expected result AFTER applying this Pull Request

Readable text

Documentation Changes Required

No, this is a bug

avatar dgrammatiko dgrammatiko - open - 5 Dec 2021
avatar dgrammatiko dgrammatiko - change - 5 Dec 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 5 Dec 2021
Category Administration com_templates
avatar brianteeman
brianteeman - comment - 5 Dec 2021

I have tested this item successfully on dcf0bcf


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

avatar brianteeman brianteeman - test_item - 5 Dec 2021 - Tested successfully
avatar khu5h1
khu5h1 - comment - 5 Dec 2021

I have tested this item successfully on dcf0bcf


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

avatar khu5h1 khu5h1 - test_item - 5 Dec 2021 - Tested successfully
avatar richard67 richard67 - change - 6 Dec 2021
Status Pending Ready to Commit
Labels Added: ?
avatar richard67
richard67 - comment - 6 Dec 2021

RTC


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

avatar bembelimen bembelimen - change - 7 Dec 2021
Labels Added: ?
avatar bembelimen bembelimen - close - 7 Dec 2021
avatar bembelimen bembelimen - merge - 7 Dec 2021
avatar bembelimen bembelimen - change - 7 Dec 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-12-07 08:38:25
Closed_By bembelimen
avatar bembelimen
bembelimen - comment - 7 Dec 2021

Thx

Add a Comment

Login with GitHub to post a comment