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

Data file upload failure when data set is submitted before files are uploaded #1659

Closed
hackdna opened this issue Mar 29, 2017 · 3 comments · Fixed by #1677
Closed

Data file upload failure when data set is submitted before files are uploaded #1659

hackdna opened this issue Mar 29, 2017 · 3 comments · Fixed by #1677

Comments

@hackdna
Copy link
Member

hackdna commented Mar 29, 2017

  • Specific code commit: afe887d
  • Version of the web browser and OS: Firefox 52, OS X 10.11
  • Environment where the error occurred: AWS instance

Steps to reproduce

  1. Navigate to the import form (/data_set_manager/import/)
  2. Select a data set that references local files
  3. Add data files to the data upload section
  4. Click Submit button to upload the data set

Observed behavior

Data set appears to have been imported successfully but not all the data files are available in the data set browser view, for example:
screen shot 2017-03-29 at 16 36 25

Expected behavior

Submit button should stay inactive until there are no more data files left to upload

@hackdna hackdna added this to the Release 1.x.x milestone Mar 29, 2017
@scottx611x
Copy link
Member

@hackdna, I've seen this happen with larger files before. I think the import_file task isn't very speedy. Does the lightning bolt go away after you refresh this page?

@hackdna
Copy link
Member Author

hackdna commented Mar 29, 2017

The lightning bolt is still there and it's been more than half hour since I've imported the data set. I think the problem is that the redirect to the data set browser page occurs before the second file is transferred over the network, so the file import either never gets started or hangs/fails because there is no data file to process. Whatever the root cause is, no data files should be lost during import.

@ngehlenborg
Copy link
Contributor

Need to deactivate "Submit" button until all file upload have completed.

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

Successfully merging a pull request may close this issue.

4 participants