John-Chan / protobuf-remote

Automatically exported from code.google.com/p/protobuf-remote
0 stars 0 forks source link

C# RPC returning default value fails #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run project's sample
2. Input 4 or any other non prime number
3. Got  exception: Cannot convert server return value into expected bool return 
type (Parameter did not have expected bool type.)

this happens becouse it threats false as null

same error happens whan returning 0 for numeric values.

Original issue reported on code.google.com by mart.bog...@gmail.com on 24 Aug 2012 at 12:38

GoogleCodeExporter commented 8 years ago
Fixed this issue
You etither can pull it from 
https://mart.bogdan@code.google.com/r/martbogdan-bugfix/ 
or from attached file

Reason is that it was serializing  propertyes instead  of fields.

Original comment by mart.bog...@gmail.com on 24 Aug 2012 at 12:48

Attachments: