User tests: Successful: Unsuccessful:
The copy template feature in our template manager fails when the template has a name with spaces or special characters defined in the XML.
The reason is that the method uses the name from the database, which is a sanitised version of the XML name. The real name is saved in the manifest_cache.
Get and use the name from the manifest_cache instead for the search/replace function.
Try to copy a template with a space or special character in the name.
You can use my template {LESS} Allrounder
(http://www.bakual.net/download/less-allrounder/less-allrounder-2-0-1/tpl_lessallrounder-zip-5.raw) to do that.
Without patch it will tell you that it worked, but when you're going to check, it didn't copy the template (instead it "updated" the existing one).
With patch it will still tell you that it worked, but now when you're going to check there now is a second template with the new name.
Make also sure that other templates like Protostar still work to copy.
Labels |
Added:
?
|
test OK. Merging. Thanks.
Milestone |
Added: |
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2014-11-27 08:21:33 |
@test Issue confirmed
Patch resolves issue
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5219.