Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List<Type> containing nulls behaving inconsistently #59

Open
tonyclickspace opened this issue Aug 11, 2015 · 2 comments
Open

List<Type> containing nulls behaving inconsistently #59

tonyclickspace opened this issue Aug 11, 2015 · 2 comments

Comments

@tonyclickspace
Copy link

When serializing lists containing nulls, rpc returns different values.

List ["one", null, null] returns ["one", null, null]
List [null, null, "three"] returns [null, null, "three"]
List ["one"] returns ["one"]

But
List [null] returns [ ]
An empty list, as opposed to a list with a single null inside. I was having an error where I expected a number of lists to have the same number of elements inside each, so it broke.

(haven't tested List [null, null, null] - sorry)

@wibling
Copy link
Contributor

wibling commented Sep 17, 2015

Thanks for the report. I will take a look at this shortly.

@Kleak
Copy link
Contributor

Kleak commented Oct 28, 2015

Is this always a bug ? because i have try to reproduce the error but without success...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants