Closed (fixed)
Project:
Signup
Version:
6.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Dec 2011 at 07:29 UTC
Updated:
20 Mar 2012 at 13:57 UTC
Jump to comment: Most recent file
I was debugging occasional fatal errors on a client site due to signup views going missing. I then put some debug in signup_views_default_views() and discovered that while it works the first time it's called, it then returns an empty array every subsequent time it's called later in the request.
This is just because it uses require_once instead of require, which means on subsequent runs, $view never gets set (because the file is not required again), so nothing gets returned.
Patch coming up once I have an nid.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | signup.zip | 118.72 KB | Hardik C |
| #1 | signup_1357802.patch | 564 bytes | catch |
Comments
Comment #1
catchHere it is.
Comment #2
dwwOh, FFS. I already solved that problem in my other modules over at #708474: Views go missing if hook_views_default_views() is called multiple times and #716756: issue views broken with latest Views 6.x-2 . Apparently I forgot to fix signup at the same time. Sorry! Committed and pushed. Thanks for the patch.
Comment #4
Hardik C commentedHi,
Hope, This solution patch would have been useful to resolve this issue.
It works for me..!! :) :)