-
Notifications
You must be signed in to change notification settings - Fork 124
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
Cannot save collection after adding to sharing #2873
Labels
Comments
jgondron
added a commit
that referenced
this issue
Mar 29, 2018
- Found the root issue is related to turbolinks + jquery-ujs + a button that uses ajax to post. This may also fix #1191. Adding a call to refresh the CSRF tokens in the rendered DOM after turbolinks loads fixes it.
elrayle
added a commit
that referenced
this issue
Mar 31, 2018
This test follows the steps to reproduce the error in issue #2873. But I can’t reproduce the error when I remove the original PR fix that adds turbolinks_events.js. So I cannot confirm that this test can serve as a regression test.
elrayle
added a commit
that referenced
this issue
Mar 31, 2018
This test follows the steps to reproduce the error in issue #2873. But I can’t reproduce the error when I remove the original PR fix that adds turbolinks_events.js. So I cannot confirm that this test can serve as a regression test.
no-reply
pushed a commit
that referenced
this issue
Apr 2, 2018
Fix for #2873 - CSRF Exception after adding to Collections/Sharing
Fixed by #2875 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Descriptive summary
After adding to sharing on a collection, clicking "Save Changes" throws a "ActionController::InvalidAuthenticityToken" exception
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: