Palpandi / acra

Automatically exported from code.google.com/p/acra
0 stars 0 forks source link

httpPost succeeds but no update appears in GoogleDoc... stumped. #125

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
First off - thanks so much for creating a great developers aid - Acra is great!

Now... for whatever reason I'm not able to get Acra 4.23 updating to a google 
form.  This has worked for us in the past and is a great boon so I'm hoping we 
can figure out what's wrong. 

--

What steps will reproduce the problem?
1. follow the basic setup instructions, created a form such that anyone with 
the link can edit.  
2. I've captured the 'formkey' at the bottom of the form and filled out the 
appropriate annotations - as follows: 

// 
https://docs.google.com/a/plexapp.com/spreadsheet/viewform?formkey=dG84Q0huNUFKR
lhRYU9VVUJNamJrVEE6MQ
@ReportsCrashes(formKey = "dG84Q0huNUFKRlhRYU9VVUJNamJrVEE6MQ",
                additionalSharedPreferences = {PlexApplication.ADVANCED_SETTINGS_FILE, PlexApplication.APPRATER_SETTINGS_FILE, PlexApplication.GLOBAL_CONFIGURATION_FILE},
                mode = ReportingInteractionMode.NOTIFICATION,
                resToastText = R.string.crash_toast_text, // optional, displayed as soon as the crash occurs, before collecting data which can take a few seconds
                resNotifTickerText = R.string.crash_notif_ticker_text,
                resNotifTitle = R.string.crash_notif_title,
                resNotifText = R.string.crash_notif_text,
                resNotifIcon = android.R.drawable.stat_notify_error, // optional. default is a warning sign
                resDialogText = R.string.crash_dialog_text,
                resDialogIcon = android.R.drawable.ic_dialog_info, //optional. default is a warning sign
                resDialogTitle = R.string.crash_dialog_title, // optional. default is your application name
                resDialogCommentPrompt = R.string.crash_dialog_comment_prompt, // optional. when defined, adds a user text field input with this text resource as a label
                resDialogOkToast = R.string.crash_dialog_ok_toast // optional. displays a Toast message when the user accepts to send a report.
)

3. I've simulated a crash in the app and confirmed that Notification appears 
and the user is able to hit okay - and the final toast "Thank You" appears to 
confirm that the request went through.

--

What is the expected output? What do you see instead?
There is no update in the GoogleDoc.

--

What version of the product are you using? On what operating system?

I've confirmed the behavior on Android ICS and Honeycomb.

--

Please provide any additional information below.

I've grabbed and built  4.30 from source to find the same behavior.  I've 
debugged up to the point where the httpPost is sent and we get back a 200 - so 
it seems like everything went through.  I also was able to confirm that all the 
fields are captured and there's a 9k StringEntity built up... tbh everything 
LOOKS in order.

--

Any ideas?

Original issue reported on code.google.com by dar...@plexapp.com on 25 Apr 2012 at 5:58

GoogleCodeExporter commented 8 years ago
I've also confirmed that this line from the log does in fact cause a blank 
entry to appear in the form:
04-25 13:14:34.897: DEBUG/ACRA(27857): Connect to 
https://spreadsheets.google.com/formResponse?formkey=dG84Q0huNUFKRlhRYU9VVUJNamJ
rVEE6MQ&ifq

Feel free to test against this form if you wish - it's completely wide open.

Original comment by dar...@plexapp.com on 25 Apr 2012 at 6:22