? Pending

User tests: Successful: Unsuccessful:

avatar Bakual
Bakual
24 May 2017

Joomla\CMS\Installer\Adapter\ComponentAdapter has some calls to JError and JLog which aren't marked being from "root" namespace.
Also fixing some doc blocks to \JTableMenu

Summary of Changes

Adds the leading \ to the calls.

Testing Instructions

Install or update a component and you get an error that the Error class isn't found about every second time.

Expected result

No errors or at least a message

Actual result

Fatal Error

This could be merged by review I think as the error is obvious. Pinging @laoneo for review.

avatar Bakual Bakual - open - 24 May 2017
avatar Bakual Bakual - change - 24 May 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 24 May 2017
Category Libraries
avatar dgt41
dgt41 - comment - 24 May 2017

@Bakual please add [4.0] in the title

avatar Bakual Bakual - change - 24 May 2017
Title
JError and JTableMenu aren't namespaced (yet)
[4.0] JError and JTableMenu aren't namespaced (yet)
avatar Bakual Bakual - edited - 24 May 2017
avatar Bakual
Bakual - comment - 24 May 2017

Done :)

avatar wilsonge
wilsonge - comment - 24 May 2017

Does this need backporting to 3.8 where we are doing the namespace work?

avatar laoneo
laoneo - comment - 24 May 2017

It doesn't exist in 3.8, looks like a merge conflict.

avatar wilsonge wilsonge - change - 24 May 2017
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-05-24 13:07:50
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 24 May 2017
avatar wilsonge wilsonge - merge - 24 May 2017

Add a Comment

Login with GitHub to post a comment