-
Type:
Bug
-
Resolution: Not a bug
-
Priority:
Low
-
Component/s: Work Item - Create - Global
Issue collector uses cookies to ensure that all requests coming to the JIRA instance are legitimate. Unfortunately some browsers (mostly Safari) block 3rd party cookies by default - in other words cookies coming from other websites - and the very nature of issue collector is that you can embed it on any website you want meaning it becomes the 3rd party storing cookies. Unfortunately this means that users won't be able to create issues using the plugin in these browsers unless they enable 3rd party cookies support.
To enable third party cookies in Safari:
- Click the "Safari" menu
- Click "Preferences..."
- Click the "Privacy" menu
- For "Cookies and websites data" select "Always allow"
Another way to get around this is to use a different browser.
Summary
Getting an error when users are trying submit a feedback using Safari
Environment
- Safari on iOS and Mac OS X
- Firefox on iOS
Steps to reproduce
- Create an Issue Collector
- Copy the generated script and save it on html file
- Open it in Safari and click Submit button
Expected Result
Feedback should be submitted successfully
Actual Result
Getting an error when users clicking submit button
Error Message
Oops! Something went wrong... AJAX error thrown: SyntaxError: JSON Parse error: Unexpected identifier "XSRF" Don't worry though! We've logged this problem and will look into it soon!
Workaround
Enable third party cookies in Safari:
- Click the "Safari" menu
- Click "Preferences..."
- Click the "Privacy" menu
- For "Cookies and websites data" select "Always allow"
Another solution is to use a different browser.
Notes
Tested on Safari, Firefox, Chrome, and Opera for iOS. Safari and Firefox hit the bug but Chrome and Opera worked fine.
This bug is connected to JRA-32285 and now displays the error message that third party cookies are disabled even before user submits the form.
- blocks
-
JRACLOUD-65273 Issue Collector popup will not scroll on iPad
-
- Closed
-
- is duplicated by
-
JRASERVER-47668 Submitting a bug via Issue Collector using Safari returns AJAX error
-
- Closed
-
-
JRASERVER-59870 AJAX error thrown: SyntaxError: JSON Parse error: Unexpected identifier "XSRF"
-
- Closed
-