Skip to content
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

Active Storage direct upload doesn't work with turbo-frame #271

Open
rzepetor opened this issue Nov 3, 2021 · 0 comments
Open

Active Storage direct upload doesn't work with turbo-frame #271

rzepetor opened this issue Nov 3, 2021 · 0 comments

Comments

@rzepetor
Copy link

rzepetor commented Nov 3, 2021

With turbo frame direct upload is executed after form submit so on server side there is empty file field and error like

Started POST "/accounts/registration" for 127.0.0.1 at 2021-11-03 20:20:09 +0100
Processing by Accounts::RegistrationsController#create as TURBO_STREAM
  Parameters: {"authenticity_token"=>"[FILTERED]", "account"=>{"avatar"=>"", "email"=>"", "username"=>"", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "acceptance_of_terms"=>"0"}}
Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms | Allocations: 1040)


  
ActiveSupport::MessageVerifier::InvalidSignature (ActiveSupport::MessageVerifier::InvalidSignature):

Screenshot_2021-11-03_20-50-20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant