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

JSON response for missing exec simulation differs between persisting and explicitly specified #125

Closed
MSLaguana opened this issue Aug 5, 2016 · 2 comments
Labels

Comments

@MSLaguana
Copy link
Member

MSLaguana commented Aug 5, 2016

When testing the behavior of cordova.exec when there is no pre-defined plugin simulation, I saw this:

>cordova.exec(suc, fai, "fooService", "bar", [1])
undefined
fail
{}
>cordova.exec(suc, fai, "fooService", "bar", [1])
undefined
fail
{"0":""}

The first time it popped up the "Please specify a response" dialog, and I left the field empty and clicked fail, but also told it to persist the result. The first response was just {} as expected, an empty object, but the second time when it used the persisted result the response had a 0 property.

@dmitrii-snytkin
Copy link
Collaborator

Can you reproduce the bug?

@drewgillies
Copy link
Member

Closing due to no repro.

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

No branches or pull requests

3 participants