Skip to content

Conversation

@ddey2
Copy link
Member

@ddey2 ddey2 commented May 15, 2024

The root problem was - page was reloaded before it could make call to post metadata.
Also deleted 2 tsx files which are not used anymore

Steps to reproduce:

  1. Create a required metadata field and require it on files
  2. Upload two or more files to a datasets and specify the required metadata
  3. Check if the files have that metadata assigned to them

@ddey2 ddey2 requested review from lmarini and tcnichol May 15, 2024 16:57
@ddey2 ddey2 requested a review from longshuicy as a code owner May 15, 2024 16:57
@ddey2 ddey2 linked an issue May 15, 2024 that may be closed by this pull request
@ddey2 ddey2 requested a review from Vismayak May 15, 2024 16:58
@ddey2
Copy link
Member Author

ddey2 commented May 16, 2024

Going to call the route instead of location.reload

Copy link
Member

@longshuicy longshuicy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good. Works well.

@lmarini lmarini merged commit 87d180a into main Jun 3, 2024
@lmarini lmarini deleted the 1052-required-metadata-on-file-upload-not-working branch June 3, 2024 15:25
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

Successfully merging this pull request may close these issues.

Required metadata on file upload not working

4 participants