this is a regression of Path alias memory cache is broken
per docs drupal_lookup_path() should return FALSE if we did not find an alias or source-path.
Since this commit we return NULL...
because of this I can't redo the patch url() does not recognize if $path == frontpage.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | drupal_lookup_path_simplify.patch | 1.02 KB | chx |
| #2 | path.patch_1.txt | 692 bytes | chx |
| drupal_lookup_path_regression.patch.txt | 1.32 KB | Tobias Maier |
Comments
Comment #1
Tobias Maier commentedComment #2
chx commentedI can't say I like the patch -- the idea is sound, but the implementation is a bit chatty. How about this one?
Comment #3
Tobias Maier commentedgreat!
I like it
Comment #4
robertdouglass commentedWhee! More drupal_lookup_path excitement, how nice. Haven't tested yet, just subscribing.
Comment #5
chx commentedActually... I implemented this for http://drupal.org/node/100301 and that patch has been applied to drupal.org where it runs for days now so this has been tested to death already :)
Comment #6
dries commentedCommitted to CVS HEAD. Thanks.
Comment #7
chx commentedas you have comitted the db_result patch there is no more need for this one as db_result now can't return NULL. Sorry for not making this clear previously.
Comment #8
m3avrck commentedBumping for more eyes, this should go in. Looks ok to me.
Comment #9
dries commentedCommitted to CVS HEAD. Thanks.
Comment #10
(not verified) commented