Static caching breaks deployment

Created on 19 August 2015, over 9 years ago
Updated 9 February 2025, about 2 months ago

How to reproduce:
* Have a deployment where the master module enables in the same request:
* rules
* rules conditional
* some featured rules conditional component

I could debug then that
* entity_modules_enabled (that does the import) is called before rules_modules_enabled (that clears static caches) and has old static cached rules plugin data without rules conditional info.

Which led to exceptions like this:

Call to undefined method stdClass::import() in /var/www/virtual/clsys/html/clsys/frutra2test/git/sites/all/modules/rules/includes/rules.core.inc on line 142
πŸ› Bug report
Status

Closed: outdated

Version

2.0

Component

Rules Core

Created by

πŸ‡©πŸ‡ͺGermany geek-merlin Freiburg, Germany

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024