spyne.model.fault.Fault cannot be Json-serailized #158

Closed
martijnvermaat opened this Issue Jul 16, 2012 · 2 comments

Comments

Projects
None yet
3 participants

In spyne.protocol.json.JsonObject it is tried to call _to_dict on a Fault object, which it does not have. I'm not sure if it is the right fix, but adding a _to_dict method to Fault fixes it.

Owner

plq commented Jul 17, 2012

Hi Martijn,

Thanks for the bug reports, but I have kind of a full plate nowadays, so if you could help with at least pull requests for test cases that cover this one and issue #159, it'd be great.

Thanks.

ugurcan377 was assigned Jul 23, 2012

@ugurcan377 ugurcan377 added a commit to ugurcan377/spyne that referenced this issue Jul 24, 2012

@ugurcan377 ugurcan377 written a test for issue #158 2e26ffc

ugurcan377 referenced this issue Aug 6, 2012

Merged

Json test #170

@plq plq added a commit to plq/spyne that referenced this issue Aug 6, 2012

@plq plq Make Fault serializable as dict. #158 849daa7
Owner

plq commented Aug 6, 2012

fixed in trunk. the fix will be in 2.8.0

plq closed this Aug 6, 2012

@martijnvermaat martijnvermaat added a commit to mutalyzer/mutalyzer that referenced this issue Dec 8, 2014

@martijnvermaat martijnvermaat Remove Spyne monkey patch, implemented upstream
See arskom/spyne#158


git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/trunk@612 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1
de23295
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment