[wp-trac] [WordPress Trac] #30430: WP_Object_Cache does not properly cache objects nested in arrays

WordPress Trac noreply at wordpress.org
Wed Dec 31 03:49:37 UTC 2014


#30430: WP_Object_Cache does not properly cache objects nested in arrays
-------------------------------------------------+-------------------------
 Reporter:  jamesgol                             |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Cache API                            |  Review
 Severity:  normal                               |     Version:  2.0
 Keywords:  reporter-feedback has-patch needs-   |  Resolution:
  testing needs-unit-tests                       |     Focuses:
-------------------------------------------------+-------------------------
Changes (by valendesigns):

 * keywords:  reporter-feedback has-patch needs-testing => reporter-feedback
     has-patch needs-testing needs-unit-tests


Comment:

 Replying to [comment:3 dd32]:
 > To trigger this, I'm fairly certain it would need to be meshing with an
 external object cache, and have the local cache within PHP (The global
 array) cleared between set/fetch (ie. a different pageload).

 Any suggestions on how to do that in the tests? I've just started making
 tests as of yesterday, so this is all pretty new still. Since my unit test
 doesn't actually demonstrate the breakage, I'm adding the keyword back.

 Cheers,
 Derek

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30430#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list