Closed (fixed)
Project:
Linkit
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Oct 2012 at 09:11 UTC
Updated:
25 Nov 2012 at 02:02 UTC
Jump to comment: Most recent file
The menu paths linkit/dashboard/% and linkit/autocomplete are not returning anything from their menu callback functions. This evaluates to the desired content but causes 500 errors on requests. Adding exit; instead of not returning anything solves this on my setup.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | linkit-500-error-on-no-return-1800824-3.patch | 629 bytes | auth |
| #1 | linkit-500-error-on-no-return-1800824-1.patch | 611 bytes | auth |
Comments
Comment #1
auth commentedPatch attached.
Comment #2
anonShould use
drupal_exit();Comment #3
auth commentedYes, of course. New patch attached.
Comment #4
anonFirst, sorry for the delay.
Thanks for the patch. I have commited this now.
But I still dont understand how you got a 500 when requesting the path.
I did a
and got a 200 back.