? ? Pending

User tests: Successful: Unsuccessful:

avatar laoneo
laoneo
24 Sep 2018

Remove the deprecated code in the CacheController class.

avatar laoneo laoneo - open - 24 Sep 2018
avatar laoneo laoneo - change - 24 Sep 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 24 Sep 2018
Category Libraries
avatar mbabker
mbabker - comment - 24 Sep 2018

IIRC I tried this once and it's not as simple as just deleting these methods.

avatar laoneo
laoneo - comment - 24 Sep 2018

What was the issue?

avatar mbabker
mbabker - comment - 24 Sep 2018

Wait, nevermind. I think it was something to do with turning one of the classes abstract as noted that was giving me problems.

Either way this actually further highlights a problem we have. The get() method has a different signature in each subclass so there's no way to sanely make an abstract or interface method declaration.

Also, you need to make sure all the controller subclasses have the store() method inlined. 2 of the 4 were using this base method declaration.

#12312 for more context.

avatar laoneo
laoneo - comment - 24 Sep 2018

So either way we copy the function to the extending classes or do revert back the deprecate message.

avatar laoneo laoneo - change - 2 Oct 2018
Labels Added: ? ?
avatar laoneo
laoneo - comment - 2 Oct 2018

Ok, copied the store functions to the implementing classes.

avatar laoneo laoneo - change - 18 Oct 2018
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-10-18 07:10:53
Closed_By laoneo
avatar laoneo laoneo - close - 18 Oct 2018
avatar laoneo laoneo - merge - 18 Oct 2018

Add a Comment

Login with GitHub to post a comment