Posted by Morbus Iff on September 29, 2008 at 1:47pm
2 followers
Jump to:
| Project: | Coder |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
0. Install and configure Drush.
1. TRUNCATE cache_coder.
2. Run a review via the browser.
3. Run the same review via Drush.
Results: Drush results contain HTML, from the cache created in step 2. The opposite is also true:
1. TRUNCATE cache_coder.
2. Run a review via Drush.
3. Run the same review via the browser.
Results: Browser results contain plain text results from Drush.
Comments
#1
I wonder if this is the same root cause for my problem?
For Mailhandler, I have mailhandler.coder_ignores.txt, and if I change any of the lines in this file, the changes do not get picked up by Coder- it seems that something is being cached.
To reproduce:
dsm($ignores);after$ignores = coder_get_ignores();- this somehow forces coder to pick up the changes...This is very consistent and reproducible. Does it sound the same, or should I open a new issue?
#2
Re: #1: I have confirmed that clearing all caches via admin toolbar does not clear the coder_cache table. If I manually empty this table, then new ignore lines get picked up.
Oddly, however, only changes to 'core' ignores (style, sql) get picked up. 'Plug-in' ignores (coder_tough_love) still seem to be getting cached.#1394024: Ignored lines not respected for rules with callbacks