? ? Pending

User tests: Successful: Unsuccessful:

avatar joomdonation
joomdonation
25 May 2021

Pull Request for Issue #32621.

Summary of Changes

Using dash "-" character in template causes potential issue as described at #32621 . This PR adds validation to prevent using that character in template name. In general, we only accept Letters, numbers and underscore for template name as displayed in UI.

Testing Instructions

  1. Go to System -> Site Templates -> Cassiopeia Details and Files
  2. Click on Copy Template button in the toolbar to create a copy of the template
  3. Enter a template name contains - character, for example test-template-name
  4. Before patch: Template is created
  5. After patch: Template could not be created, there is error message displayed Invalid template name. Please use only letters, numbers and underscores
avatar joomdonation joomdonation - open - 25 May 2021
avatar joomdonation joomdonation - change - 25 May 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 25 May 2021
Category Administration com_templates Language & Strings
avatar joomdonation joomdonation - change - 25 May 2021
The description was changed
avatar joomdonation joomdonation - edited - 25 May 2021
avatar joomdonation joomdonation - change - 25 May 2021
The description was changed
avatar joomdonation joomdonation - edited - 25 May 2021
avatar sandramay0905 sandramay0905 - test_item - 25 May 2021 - Tested successfully
avatar sandramay0905
sandramay0905 - comment - 25 May 2021

I have tested this item successfully on 407c5a3


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

avatar Abernyte-Git Abernyte-Git - test_item - 25 May 2021 - Tested successfully
avatar Abernyte-Git
Abernyte-Git - comment - 25 May 2021

I have tested this item successfully on 407c5a3


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

avatar joomdonation joomdonation - change - 25 May 2021
Status Pending Ready to Commit
avatar joomdonation
joomdonation - comment - 25 May 2021

RTC. Thanks !


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

avatar wilsonge wilsonge - change - 25 May 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-05-25 16:44:31
Closed_By wilsonge
Labels Added: ? ?
avatar wilsonge wilsonge - close - 25 May 2021
avatar wilsonge wilsonge - merge - 25 May 2021
avatar wilsonge
wilsonge - comment - 25 May 2021

Thanks!

Add a Comment

Login with GitHub to post a comment