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

Suggestion: add troubleshooting tools #371

Closed
alexblack opened this issue Jan 26, 2016 · 0 comments
Closed

Suggestion: add troubleshooting tools #371

alexblack opened this issue Jan 26, 2016 · 0 comments

Comments

@alexblack
Copy link

The Parse SDK suffers from bugs that are hard to reproduce, for example #267, #218, #209, #203 (these are just issues I have been involved with). To quote the parse team:

Unfortunately this seems like an impossible scenario for me, so I'm not entirely sure how this could happen or even reproduce it.

At the same time, the Parse team takes the stance that if the 3rd party person who found the Parse bug cannot figure out how to reproduce it, then they will not investigate.

This means Parse never fixes their bugs (for example #203 was first filed June 4th 2015, over 7 months ago). I'd like to suggest that Parse add some code to the SDK to aid in these situations. Suggestions include (but are not limited to):

  1. A simple method to capture and upload the Parse local data store (LDS), eg Parse.uploadLDSToParse(String id), or Parse.uploadLDSTo3rdParty(String urlToPostTo);
  2. A simple method to capture recent log statements from parse and upload
  3. More detail included in exceptions, eg "ParseUser$State java.lang.ClassCastException: org.json.JSONObject$1 cannot be cast to java.lang.String" if we knew what the JSONObject$ was then we might have some insight.
  4. Include an ID (or GUID) with each exception that can be traced back to the server request, so when users submit a stack trace Parse staff can simply lookup the server request associated with the exception (if there was one)
  5. A method to clear things out when they get into a bad state, eg when Parse puts a JSONObject in where it expects a String value.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants