Closed (fixed)
Project:
Flexinode
Version:
master
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
9 Sep 2005 at 17:57 UTC
Updated:
31 May 2006 at 15:45 UTC
Jump to comment: Most recent file
flexinodes uses drupal_not_found() as it would exit after doing its job. but that isn't the fact.
so i recently ran in an endless lopp of not_found-pages.
patch for 4.6 is attached.
but as it isn't a too complicated patch, it might do the job for head too.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 30792.patch.txt | 8.9 KB | Bèr Kessels |
| flexinode-notfound.patch | 946 bytes | fago |
Comments
Comment #1
Bèr Kessels commentedCode looks good, But where did you run into that loop? On what page(s)?
Comment #2
fagoi think it was on a list page with a not existing ctype_id.
Comment #3
Bèr Kessels commentedI am willing to commit this, but I need to evaluate it first. in order to do so, i really need to know if, how and where to reproduce the issue.
Comment #4
fagoi couldn't reproduce the loop
(i think, i had pointed to an not existing notfound-document -> loop)
however:
going to flexinode/list will end up in two theme_page()s, the notfound document and afterwards a list of all flexinode items - the code afterwards seems to take care of this case.
going to flexinode/table and flexinode/search shows the same (2 pages..), however the code of the second page doesn't look like being meaningfully for no ctype_id.
Comment #5
Bèr Kessels commentedThis is a better appraoch IMO.
please test.
Comment #6
Bèr Kessels commentedComment #7
samc commentedReads clean and tests fine for me.
+1
Comment #8
Bèr Kessels commentedcommitted.
Comment #9
(not verified) commented