Joomla 3.9.4
Windows 7 64 bit
Xampp
PHP 7.0
MySQL 5.6
The problem is specifically here:
https://github.com/joomla/joomla-cms/blob/staging/administrator/components/com_templates/models/template.php#L333
The str_replace function replaces the name of template wherever it exists in the path:
$file: D:\home\htdocs\beez3\tmp\template_copy_5c93fab14b898/language/en-GB/en-GB.tpl_beez3.ini
$newFile: D:\home\htdocs\testtemplate\tmp\template_copy_5c93fab14b898/language/en-GB/en-GB.tpl_testtemplate.ini
Labels |
Added:
?
|
Status | New | ⇒ | Information Required |
Category | ⇒ | com_templates |
it's a bug and we should fix it. Maybe someone could write a PR for this.
Status | Information Required | ⇒ | Discussion |
Closed_By | Quy | ⇒ | joomla-cms-bot |
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-03-23 16:25:02 |
Closed_By | ⇒ | Quy |
Set to "closed" on behalf of @Quy by The JTracker Application at issues.joomla.org/joomla-cms/24295
Please test PR #24316
@HLeithner can you please comment?