Closed (fixed)
Project:
SimpleTest
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Jun 2008 at 21:15 UTC
Updated:
22 Feb 2009 at 21:20 UTC
I run into a funny little bug after converting CCK tests to use the 7.x API - if Views is enabled on the "live" site, I get on PHP error that indicates that CCK is trying to clear {cache_views}. But only one such error (when CCK would otherwise do this lots of times) - which made me think it was a stale static var hanging around during the simpletest install.
Attached patch prevents this error.
| Comment | File | Size | Author |
|---|---|---|---|
| clear-module-list.patch | 964 bytes | pwolanin |
Comments
Comment #1
yched commentedSaw that too - still seeing the errors after applying the patch, though :-(
Comment #2
boombatower commentedEdit: accident.
Comment #3
boombatower commentedComment #4
pwolanin commentedHmm, this has been working fine for me - boombatower, did you test it? Yched - can you double-check?
Comment #5
yched commentedSorry, the error messages I see are in fact a different simpletest bug, that also reveals with views enabled.
I see the bug you report and the patch fixes it, so RTBC.
I'll open another issue with the other bug once I can trace it down to something specific enough.
Comment #6
yched commentedrelated bug + patch in http://drupal.org/node/275052
(deals with statics once tests are done)
Comment #7
pwolanin commentedneeds re-roll
Comment #8
pwolanin commentednever mind - just a conflict with the profile patch which was also in place
Comment #9
boombatower commented1.x no longer maintained...fix in 2.x.
Comment #10
boombatower commented