? ? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
3 Nov 2022

It is possible that the template->name does not match the template->element

When that is the case then it is not possible to open the larger preview image of the template as the id of the modal is not the same as the id referenced in the button.

This PR corrects that by using template->element in both places.

To test
The easiest way will be to create a child of cassiopeia and then edit the database.

in #__extensions find the record for the child template and change the name only.

Now in the admin template manager you will find that you get a js error when you try to open the larger preview image.

Apply this PR and you will find that the preview opens correctly

image

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar brianteeman brianteeman - open - 3 Nov 2022
avatar brianteeman brianteeman - change - 3 Nov 2022
Status New Pending
avatar brianteeman brianteeman - change - 3 Nov 2022
The description was changed
avatar brianteeman brianteeman - edited - 3 Nov 2022
avatar brianteeman brianteeman - change - 3 Nov 2022
The description was changed
avatar brianteeman brianteeman - edited - 3 Nov 2022
avatar joomla-cms-bot joomla-cms-bot - change - 3 Nov 2022
Category Administration com_templates
avatar viocassel
viocassel - comment - 4 Nov 2022

I have tested this item successfully on 55f6c52


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

avatar viocassel viocassel - test_item - 4 Nov 2022 - Tested successfully
avatar jwaisner jwaisner - test_item - 8 Dec 2022 - Tested successfully
avatar jwaisner
jwaisner - comment - 8 Dec 2022

I have tested this item successfully on 55f6c52


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

avatar jwaisner jwaisner - change - 8 Dec 2022
Status Pending Ready to Commit
avatar jwaisner
jwaisner - comment - 8 Dec 2022

RTC


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

avatar roland-d roland-d - change - 18 Dec 2022
Labels Added: ? ?
avatar roland-d roland-d - change - 18 Dec 2022
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2022-12-18 15:33:14
Closed_By roland-d
avatar roland-d roland-d - close - 18 Dec 2022
avatar roland-d roland-d - merge - 18 Dec 2022
avatar roland-d
roland-d - comment - 18 Dec 2022

Thank you

Add a Comment

Login with GitHub to post a comment