Bug #23217 See Comments

Extension Hook Settings

Version: 3.5.11 Reporter: TJ Draper

This is an archived bug report. If you are experiencing a similar issue, upgrade to the latest release and if that does not solve the problem, submit a new bug report

There’s a problem with EE_Extensions::call() method. The problem is that each extension row for an add-on in the exp_extensions table can have settings. However, the first hook/row that runs from the call method has it’s settings cached by class name, so when another hook for that addon/class that does have settings is run, it is sent the settings for the first hook/row that ran. The settings cache key should include the row ID for uniqueness. Here are images that hopefully illustrate the problem better than the words describing it perhaps.

Extension Rows

Extension Class

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases