Closed (works as designed)
Project:
SimpleTest
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Mar 2009 at 05:49 UTC
Updated:
2 Jan 2013 at 10:14 UTC
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
Comment #1
boombatower commentedThis 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.
Comment #2
gordon commentedI 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.
Comment #3
bsandor commentedThis issue can be related to this one:
http://drupal.org/node/1696826