? Success

User tests: Successful: Unsuccessful:

avatar photodude
photodude
23 May 2016

Pull Request for Part of Issue #10220

Summary of Changes

Some APC(u) modules changed the internal key name from key to entry_name. HHVM is one such case where the APC module uses a different naming.

This addresses the 3 known types of keys for APC(u)

Testing Instructions

Merge by code review.

Passing test with var_dump of the entries in our unit tests showing HHVM apc key name is entry_name https://travis-ci.org/photodude/joomla-cms/jobs/132170969

avatar photodude photodude - open - 23 May 2016
avatar photodude photodude - change - 23 May 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 23 May 2016
Labels Added: ?
avatar photodude photodude - change - 23 May 2016
The description was changed
avatar brianteeman brianteeman - change - 23 May 2016
Category Cache Libraries
avatar mbabker
mbabker - comment - 23 May 2016

APCu probably needs to be checked too.

avatar photodude photodude - change - 23 May 2016
The description was changed
avatar photodude
photodude - comment - 23 May 2016

@mbabker We could patch it in APCu also, although I'm not aware of any APCu modules using entry_name for the internal key name. Currently HHVM doesn't have an APCu module since they preinstall the ACP module.

avatar mbabker
mbabker - comment - 23 May 2016

Seems odd they would use an outdated/abandoned PHP extension but ¯\_(ツ)_/¯

avatar photodude
photodude - comment - 23 May 2016

About as odd as why they installed memcache and memcached in the default settings.

avatar photodude
photodude - comment - 27 May 2016

@mbabker I've added the fix to APCu as well on the off chance that HHVM might use APCu someday.

avatar photodude
photodude - comment - 11 Jun 2016

Is there any interest in moving forward with this PR?

avatar mbabker
mbabker - comment - 11 Jun 2016

I'd say it should be merged. If it's gonna sit and wait for people who have PHP environments with APC(u) to come along and test it's going to go nowhere.

avatar photodude
photodude - comment - 2 Jul 2016

@wilsonge Can this be merged now?

avatar wilsonge wilsonge - change - 3 Jul 2016
Status Pending Ready to Commit
avatar wilsonge
wilsonge - comment - 3 Jul 2016

RTC on Review. For 3.6.1


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

avatar joomla-cms-bot joomla-cms-bot - change - 3 Jul 2016
Labels Added: ?
avatar wilsonge wilsonge - change - 3 Jul 2016
Milestone Added:
avatar photodude
photodude - comment - 3 Jul 2016

Thanks @wilsonge

avatar roland-d roland-d - change - 16 Jul 2016
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-07-16 06:43:07
Closed_By roland-d
avatar roland-d roland-d - close - 16 Jul 2016
avatar roland-d roland-d - merge - 16 Jul 2016
avatar joomla-cms-bot joomla-cms-bot - close - 16 Jul 2016
avatar joomla-cms-bot joomla-cms-bot - change - 16 Jul 2016
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment