? ? Pending

User tests: Successful: Unsuccessful:

avatar ReLater
ReLater
6 Jul 2020

Fixes #30035

Summary of Changes

  • Don't interrupt getCoreList() at all if single template has no /html/ folder. Simply go on.

Testing Instructions

  • Activate plugin Installer - Override

  • Install this remplate: [Link removed 2020-07-11 after request of shor-ty] (provided by @shor-ty).
    This template has no /html/-folder in package.

  • Hint: Uninstall template before each new test (it has no method="update").

Actual result BEFORE applying this Pull Request

  • Plugin Installer - Override provokes an error message COM_TEMPLATES_ERROR_TEMPLATE_FOLDER_NOT_FOUND by calling method getCoreList() that can't find folder /html/ in new template.
  • COM_TEMPLATES_ERROR_TEMPLATE_FOLDER_NOT_FOUND is wrong here because it says that the template folder wasn't found. That's not true.

Expected result AFTER applying this Pull Request

  • There is no need to stop searching for overrides in other templates just because a single template has no html folder.
  • No error message during installation.

Documentation Changes Required

  • No.
avatar ReLater ReLater - open - 6 Jul 2020
avatar ReLater ReLater - change - 6 Jul 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 6 Jul 2020
Category Administration com_templates
avatar ReLater ReLater - change - 6 Jul 2020
The description was changed
avatar ReLater ReLater - edited - 6 Jul 2020
avatar ReLater ReLater - change - 6 Jul 2020
Title
Don't interrupt getCoreList() if single template has no /html/
[4] Don't interrupt getCoreList() if single template has no /html/
avatar ReLater ReLater - edited - 6 Jul 2020
avatar ChristineWk
ChristineWk - comment - 6 Jul 2020

4.0.0-dev3 JUL6th2020
Before Patch:
a) confirm error message
b) Control Panel: "Update Checks" shows a red icon > No.
Applied Patch:
Warning

Extension Install: Another template is already using the named folder: /home/my site/templates/holzmanncfd. Are you trying to install the same extension again?
Error

Error installing template

Will try to get rid of above, to start again.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30036.
avatar ReLater ReLater - change - 6 Jul 2020
The description was changed
avatar ReLater ReLater - edited - 6 Jul 2020
avatar ChristineWk
ChristineWk - comment - 6 Jul 2020

OK, uninstalled it & installed again :-)

avatar ChristineWk ChristineWk - test_item - 6 Jul 2020 - Tested successfully
avatar ChristineWk
ChristineWk - comment - 6 Jul 2020

I have tested this item successfully on 522c987


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

avatar ReLater ReLater - change - 6 Jul 2020
The description was changed
avatar ReLater ReLater - edited - 6 Jul 2020
avatar Quy Quy - test_item - 6 Jul 2020 - Tested successfully
avatar Quy
Quy - comment - 6 Jul 2020

I have tested this item successfully on 522c987


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

avatar Quy Quy - change - 6 Jul 2020
Status Pending Ready to Commit
avatar Quy
Quy - comment - 6 Jul 2020

RTC


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

avatar ReLater ReLater - change - 6 Jul 2020
The description was changed
avatar ReLater ReLater - edited - 6 Jul 2020
avatar richard67 richard67 - close - 11 Jul 2020
avatar richard67 richard67 - merge - 11 Jul 2020
avatar richard67 richard67 - change - 11 Jul 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-07-11 12:33:36
Closed_By richard67
Labels Added: ? ?
avatar richard67
richard67 - comment - 11 Jul 2020

Thanks!

avatar ReLater ReLater - change - 11 Jul 2020
The description was changed
avatar ReLater ReLater - edited - 11 Jul 2020

Add a Comment

Login with GitHub to post a comment