You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Need to systematically remove and test that data: { turbolinks: false } (and other variants of turning off turbolinks) are not needed. There is a general fix for invalid tokens failure associated with turbolinks (#1191) in PR #2875.
Rationale
Remove technical debt of code to turn off turbolinks since it is no longer needed.
Expected behavior
Removal of turbolinks: false on links and buttons should not throw invalid authenticity tokens and should perform the action specified by the link/button.
Actual behavior
Removal of turbolinks: false on links and buttons throws invalid authenticity tokens exception.
Steps to reproduce the behavior
Search for turbolinks in app/views
Remove code that turns turbolinks off for a button/link
Test the behavior of the button/link and confirm the invalid authenticity token exception is not thrown
Related work
PR #2875 CSRF Exception after adding to Collections/Sharing
Link to related tickets or prior related work here.
The text was updated successfully, but these errors were encountered:
Descriptive summary
Need to systematically remove and test that
data: { turbolinks: false }
(and other variants of turning off turbolinks) are not needed. There is a general fix for invalid tokens failure associated with turbolinks (#1191) in PR #2875.Rationale
Remove technical debt of code to turn off turbolinks since it is no longer needed.
Expected behavior
Removal of turbolinks: false on links and buttons should not throw invalid authenticity tokens and should perform the action specified by the link/button.
Actual behavior
Removal of turbolinks: false on links and buttons throws invalid authenticity tokens exception.
Steps to reproduce the behavior
Related work
PR #2875 CSRF Exception after adding to Collections/Sharing
Link to related tickets or prior related work here.
The text was updated successfully, but these errors were encountered: