With my development of tests for e-Commerce I have having a horrible time with module like rules and views that are required by e-Commerce. I get huge warning messages at the top of the page with those module complaining about the cache table not being written.

I have tracked the problem down to the fact that when the modules are installed, between the system module being installed and the rules/views module being installed the static variable for the schema is not reset and the table fails to be created.

Also I think that it may be a problem with the fact that these modules are already loaded. in memory when the db prefix is switched, but I am not 100% sure.

Comments

boombatower’s picture

This is part of a large problem that will be fixed in D7 by: #254491: Standardize static caching...sadly for D6 we keep having to add individual exceptions to setUp() to clear the caches...since you have a good understanding of problem please provide patch if you see a way to fix.

gordon’s picture

Status: Active » Closed (works as designed)

I did some more checking and I managed to find the errors. Basically it was the way e-commerce was being installed which was causing the errors, so I was able to work around the problems.

bsandor’s picture

This issue can be related to this one:
http://drupal.org/node/1696826