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

CSRF error when importing a resource template #1095

Closed
patrickmj opened this issue Oct 16, 2017 · 2 comments
Closed

CSRF error when importing a resource template #1095

patrickmj opened this issue Oct 16, 2017 · 2 comments
Assignees

Comments

@patrickmj
Copy link
Contributor

As the global admin, when I review a resource template to import then try to complete the import, I get an error of CSRF: Value is required and can't be empty

@jimsafley jimsafley self-assigned this Oct 16, 2017
@patrickmj patrickmj assigned patrickmj and zerocrates and unassigned patrickmj Oct 16, 2017
@patrickmj
Copy link
Contributor Author

More info:

The first page (uploading the file for review), sends resourcetemplateimportform_csrf

The complete import form appears to send a parameter named resourcetemplatereviewimportform_csrf

Their values are different.

@zerocrates
Copy link
Member

Hmmm. It's expected that those would be different like that (at least, now it is), but that action is just doing some wacky stuff where it sometimes checks the validity of a different form than it actually rendered.

garyttierney pushed a commit to digirati-co-uk/omeka-s that referenced this issue Nov 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants