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.

CommentFileSizeAuthor
clear-module-list.patch964 bytespwolanin

Comments

yched’s picture

Saw that too - still seeing the errors after applying the patch, though :-(

boombatower’s picture

Status: Needs review » Postponed

Edit: accident.

boombatower’s picture

Status: Postponed » Active
pwolanin’s picture

Hmm, this has been working fine for me - boombatower, did you test it? Yched - can you double-check?

yched’s picture

Status: Active » Reviewed & tested by the community

Sorry, 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.

yched’s picture

related bug + patch in http://drupal.org/node/275052
(deals with statics once tests are done)

pwolanin’s picture

Status: Reviewed & tested by the community » Needs work

needs re-roll

pwolanin’s picture

Status: Needs work » Reviewed & tested by the community

never mind - just a conflict with the profile patch which was also in place

boombatower’s picture

1.x no longer maintained...fix in 2.x.

boombatower’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.