Change the 500 page to ask users to email xls file to support@formhub.org #322

Closed
prabhasp opened this Issue Apr 11, 2012 · 13 comments

Projects

None yet

5 participants

@prabhasp

WAS:
On every error on form upload, give user an option to email xls file to support@formhub.org
the rationale is that users have no way to debug this, and every discovered error (which should be an exception being thrown by pyxform) needs to be converted to a pyxformerror so that it shows a user-facing error prompt.

  • these are the errors being caught in utils/logger_tools.py publish_form
@mejymejy

do we really want to do this? i'm not sure that people want to share their forms without their knowledge/consent

@prabhasp

@mberg?
would a disclaimer saying that 'your forms may be used for debugging purposes if there is an error, and for such purposes only.' suffice?
otherwise, we should either (i prefer 1 to 2): (1) give them a little "If you would like to help us debug this error, please hit this email button and email your forms to us. We will use it only for debugging, and delete the form form our systems immediately afterwards." (2) tell people to email their xls file to support@formhub.org if they want the error (possibly fixed).

@mejymejy

i agree, i think that (1) is a better option that users would most likely be already familiar with

@prabhasp

(1) it is. so they then are able to hit an 'email' button that just automatically emails us!

@myf myf was assigned Apr 18, 2012
@pld

working on branch 322-email-xls-on-error

@dorey

@prabhasp . We've been looking at what it would take for @myf to implement this as a separate "Email" button that appears in the error message and it seems like we could make things simpler to put the "report errors" disclaimer into a checkbox field of the original "publish xls" form. (this sounds close to what you were describing in (1))

@pld
@myf
Sustainable Engineering Lab, Columbia University member

in theory this can be done. we harnessed user info and the malformed xls in the error message popup. In order ot do this we will have to create a new form, resending these info back into the server, creating a new url, views to handle this form and then send it back out to the support email address. that's a lot of overwork for this function.

@dorey

à la:

potential submit form

Otherwise, we'll have to process a separate "report my last form" request, associate it with that XLS file somehow, and keep the XLS file on S3 foreverrrrrr (or maybe till the user's session expires?)

@prabhasp

oh god, sounds horrible. we can just rewrite the darn 500 error page to tell people to email it to us if they want help.... sorry for wasting so many hours on this.

@prabhasp

@myf lets talk about this before you work on it any more. tempted to just close the issue, but not doing so, because want to see how much work has been put into it already.

@myf
Sustainable Engineering Lab, Columbia University member

ok, on hold

@prabhasp

ok, changed the issue title.

@myf myf pushed a commit that closed this issue Apr 26, 2012
myf@worldtalks.org fixes #322 85077de
@myf myf closed this in 85077de Apr 26, 2012
@humanitariandata humanitariandata pushed a commit to humanitariandata/formhub that referenced this issue Oct 16, 2014
myf@worldtalks.org fixes #322 f95c95f
@humanitariandata humanitariandata pushed a commit to humanitariandata/formhub that referenced this issue Oct 16, 2014
@prabhasp prabhasp changing logic of support email display to match original intent of #322
7d828c9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment