? ? Pending

User tests: Successful: Unsuccessful:

avatar laoneo
laoneo
30 May 2017

Pull Request for Issue #16315 and #16311 and is improving the workaround in #16342.

Summary of Changes

class_alias is actually not loading the alias class. Additionally when you have typed function arguments and instanceof calls, the class is also not loaded. This pr is loading the alias classes when a class is loaded in JLoader. It requires that the alias are registered before the original class is loaded.

Testing Instructions

  • Reverert patch from #16342.
  • Enable debugging in Joomla configuration
  • Enable in the debug plugin Logging
    image

Expected result

No Error is thrown.

Actual result

Error is thrown.

avatar laoneo laoneo - open - 30 May 2017
avatar laoneo laoneo - change - 30 May 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 30 May 2017
Category Libraries Unit Tests
avatar joomla-cms-bot joomla-cms-bot - edited - 30 May 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 30 May 2017
Title
Load the alias class when the original is loaded
[3.8] Load the alias class when the original is loaded
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 30 May 2017

Appended "[3.8]" on Titel to show Version for PR.

avatar laoneo laoneo - change - 30 May 2017
Labels Added: ? ?
avatar wilsonge wilsonge - close - 30 May 2017
avatar wilsonge wilsonge - merge - 30 May 2017
avatar wilsonge wilsonge - change - 30 May 2017
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-05-30 16:46:05
Closed_By wilsonge

Add a Comment

Login with GitHub to post a comment