Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
24 Jun 2010 at 13:42 UTC
Updated:
20 Mar 2020 at 16:52 UTC
Jump to comment: Most recent
Comments
Comment #1
Stevel commentedLooks good.
Comment #2
webchickNice catch, catch! ;)
Quick question: Is it possible to write tests for this?
Comment #3
dries commentedCommitted to CVS HEAD. Lowering priority and updating tags. Good catch, catch.
Comment #4
marcingy commentedBumping back up in priority and reseting status as this doesn't appear to have been committed.
Comment #5
dries commentedCommitted to CVS HEAD. Thanks.
Comment #6
marcingy commentedAnd setting back to open and normal now we need tests.
Comment #7
catchI think it's just about possible to write tests:
* Have two page callbacks.
* One doesn't invoke any hooks.
*One does invoke some hooks that don't have any implementations
* Visit both pages in order, on visiting the second page, do a raw cache_get() of the module_implements() cache and ensure that the hooks with no implementations are in there.
Comment #8
marcingy commentedChanging to major as per tag.
Comment #9
mustanggb commentedTag update
Comment #10
catchDowngrading, adding tests doesn't meet the criteria for major.