? Pending

User tests: Successful: Unsuccessful:

avatar laoneo
laoneo
17 Apr 2018

Pull Request based on comment #20088 (comment).

Summary of Changes

When upgrading a "New MVC" extension to the namespaced one where the layout files are in the top level /tmpl folder of the extension (eg. /components/com_foo/tmpl), then we have a path lookup issue. The folder /components/com_foo/view/myview/tmpl does then still exists with the old files as they will not get erased on upgrade.

This pr moves the top level folder as first choice in the path lookup, so it has the same logic as with the "Legacy MVC" views set up.

Testing Instructions

  • Create the folder /components/com_config/view/modules/tmpl
  • Edit a module

Expected result

Module can be edited.

Actual result

Error: 500 Layout default not found.

Documentation Changes Required

avatar laoneo laoneo - open - 17 Apr 2018
avatar laoneo laoneo - change - 17 Apr 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 17 Apr 2018
Category Libraries
avatar wilsonge wilsonge - change - 17 Apr 2018
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-04-17 09:28:37
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 17 Apr 2018
avatar wilsonge wilsonge - merge - 17 Apr 2018

Add a Comment

Login with GitHub to post a comment