Closed ctrance closed 11 years ago
Could you provide some more information. I can't re-create this in firefox:
Firefox version number:
Output of the web console in firefox when clicking take survey (you can open the web console by clicking Tool -> Web Developer -> Web Console).
Thanks!
FF 20.0.1 on windows 7
Web console output: [07:32:31.085] POST https://test.ohmage.org/app/campaign/read [22ms] [07:32:31.014] Spinner: Showing spinner. [07:32:31.017]({campaign_urn_list:"urn:campaign:ca:ucla:cens:josh_prompt_types_test", output_format:"long", auth_token:"3a383ee9-94b5-44c4-a681-cad55c29bd6d", client:"ohmage-mwf"}) [07:32:31.017] setting auth_token [07:32:31.018] Initiating an API call for URL (https://test.ohmage.org/app/campaign/read) with the following input data: {"campaign_urn_list":"urn:campaign:ca:ucla:cens:josh_prompt_types_test","output_format":"long","auth_token":"3a383ee9-94b5-44c4-a681-cad55c29bd6d","client":"ohmage-mwf"} [07:32:31.025] AJAX exception for url https://test.ohmage.org/app/campaign/read [07:32:31.025] Spinner: Hiding spinner. [07:32:31.088] GET https://test.ohmage.org/survey/null [HTTP/1.1 404 Not Found 46ms] [07:32:31.106] NS_ERROR_NOT_AVAILABLE: prompt aborted by user @ resource://gre/components/nsPrompter.js:425 [07:32:31.102] Init: onunload invoked.
Hmm.. thanks @ctrance ...I think you mentioned you already did this, but could you try clearing all browser history/cache? I just updated to make sure I was one the ff 20 branch with you, cleared cache and cant recreate still..
could someone else with windows give this a shot?
I cleared all browser history/cache again but still the same issue.
To reproduce:
Edit: This only appears to be happening on FF on Windows. Not on Mac OS X. I suspect that this is a MWF issue, not an ohmageFrontEnd or ohmageServer issue.
I reboot my desktop but still get the null page for installing a campaign/opening a survey on FF (Windows 7). However, I tried on my laptop FF (Windows Vista) and didn’t get the error.
@stevenolen can this be closed?
This must have to do with how redirects work in mwf. Since the code is nearly done refactoring, we can close this issue and track any future instances of it in the mwf codebase (since it really isn't an ohmageFrontEnd issue).
Also, serving the mwf code from a web server instead of tomcat could help with weird redirect issues like this..
On test.ohmage.org I clicked 'Take Survey' but everytime I add a campaign or open a survey I'm getting error >>the requested resource is not available<<.
I'm being redirected to https://test.ohmage.org/survey/null