Closed (won't fix)
Project:
Coder
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Sep 2008 at 13:47 UTC
Updated:
30 Dec 2014 at 18:17 UTC
Jump to comment: Most recent
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
Comment #1
danepowell commentedI 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?
Comment #2
danepowell commentedRe: #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 callbacksComment #3
klausiCoder for Drupal 6 is now frozen and only security fixes will be applied. Feel free to update this issue and reopen against 7.x-2.x or 8.x-2.x.