Project

General

Profile

Actions

Bug #7035

closed

getCachedPluginObject caching non-plugin objects

Added by krileon almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
Start date:
15 February 2018
Due date:
% Done:

100%

Estimated time:

Description

When getCachedPluginObject is sent an stdClass of a plugin it gets cached as an stdClass, but the output of getCachedPluginObject is expected to be a PluginTable resulting in errors when this happens. getCachedPluginObject should strictly be doing instanceof checks to ensure the object is a PluginTable before committing it to cache. Usages of getCachedPluginObject with stdClass also should be fixed.

Actions #1

Updated by krileon almost 7 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Fixed in MR !1312

Actions #2

Updated by beat almost 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF