Closed (fixed)
Project:
RESTful Web Services
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
8 Oct 2012 at 08:58 UTC
Updated:
30 Apr 2015 at 14:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
klausiThanks for reporting, problem confirmed.
Looks like we need to catch exceptions when we filter out properties that should not be accessed.
Patch attached, please test.
This should also come with an automated test case using the book module.
Comment #2
haggan commentedSweet thanks!
I can now get json formats!
Many thanks for the patch!
Comment #3
klausiTagging. Needs work for a test case, any volunteers?
Comment #4
klausiKeeping the needs tests tag.
Comment #5
Tim.Jongsma commentedWe had precisely the same error, this patch works as a charm. we recommend this will be added to the main branch.
Thanks for the patch!
Comment #6
klausiGlad it works for you - can you write a simpletest for this?
Comment #7
Tim.Jongsma commentedWell at this moment i'm experiencing other issues, which make it a bit hard to test anything. i have created another issue about that, so if i can get this module to work, i'm willing to give it a try.
Comment #8
jeff h commentedThis patch looks fine and is an incredibly simple fix.
It took me a good while with my debugger to even realise I had the book.module problem that this fixes. I suspect many would have given up, blaming the restws module.
Surely it's not worth holding up including this patch for almost two years just because there's no test? I admire the sentiment but pragmatically, I don't think anyone's going to write a test for this.
Can you please roll it in?
Comment #9
jeff h commentedThis has been running on our production environment for almost a year without issue. Please merge it.
Comment #11
klausiAlright, committed.