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

File Upload w/ Rsync UI/Workflow changes #3348

Closed
djbrooke opened this issue Sep 13, 2016 · 37 comments
Closed

File Upload w/ Rsync UI/Workflow changes #3348

djbrooke opened this issue Sep 13, 2016 · 37 comments

Comments

@djbrooke
Copy link
Contributor

djbrooke commented Sep 13, 2016

Users should be able to upload files via rsync. When rsync is available, users will not be able to upload via http methods.

The technical underpinnings for rsync are present, but we need to decide on what the UI/UX should be for rsync uploads.

@pdurbin
Copy link
Member

pdurbin commented Sep 13, 2016

During the 2016-09-08 SBGrid Sprint Planning meeting ( https://docs.google.com/document/d/1wWSdKUOGA1L7UqFsgF3aOs8_9uyjnVpsPAxk7FObOOI/edit ) this issue was given an effort level of "5".

The code that @bmckinney demo'ed lives at https://github.com/bmckinney/dataverse-canonical/tree/dcm-beta and it works (deployed to https://dv.sbgrid.org currently) but would probably benefit from @scolapasta and @mheppler taking a look so I'm going to assign this issue to them and me and Bill to figure out what happens next to this code.

@pdurbin
Copy link
Member

pdurbin commented Sep 15, 2016

@bmckinney @djbrooke and I discussed this and I believe that what should happen next is for a branch to be pushed to the main IQSS repo so that @mheppler can easily switch to it and make UI improvements.

@TaniaSchlatter
Copy link
Member

There is a plan for design/usability in Trello: https://trello.com/c/Nbte37k1/9-sbgrid-rsync-file-uploads-4-8. In terms of timing, is it accurate to say that this is planned to be presented at June's Dataverse Community Meeting as production-ready code or at least a prototype?

@djbrooke
Copy link
Contributor Author

djbrooke commented Apr 7, 2017

That's correct!

@landreev
Copy link
Contributor

landreev commented Sep 8, 2017

Fixed the issue 2. that @kcondon reported lat night (closing the popup via the "x" box), by adding an ajax event="close" listener.
The branch should be ready for merging into the rsync download branch.

@landreev landreev removed their assignment Sep 8, 2017
@matthew-a-dunlap
Copy link
Contributor

matthew-a-dunlap commented Sep 8, 2017

@pdurbin pdurbin self-assigned this Sep 8, 2017
@pdurbin
Copy link
Member

pdurbin commented Sep 8, 2017

I'll take a look at the failing REST Assured tests.

@pdurbin
Copy link
Member

pdurbin commented Sep 11, 2017

In ce0e97c I re-fixed #3443 about excluding email addresses from metadata export (they were being exposed), marked a method as deprecated to hopefully prevent regressions like this in the future, and added a "Privacy Considerations" section to the Installation Guide. I gave @matthew-a-dunlap a brain dump about the fix.

pdurbin added a commit that referenced this issue Sep 12, 2017
As of 9d319bd on develop, we were seeing a 500 error when we pretty
print the output from native file add and "IllegalArgumentException:
Cannot lock a dataset for a null user" in server.log

The fix is to look up the user (the id is passed in) rather than using
DataverseRequestServiceBean.
@pdurbin
Copy link
Member

pdurbin commented Sep 12, 2017

In 840c7a2 @matthew-a-dunlap and I fixed a bug in native file add that appears in develop as of 9d319bd where if you upload a .dat file you get a 500 error rather than a proper JSON response. The 500 was resulting from a null user attempting to create a lock:

Caused by: java.lang.IllegalArgumentException: Cannot lock a dataset for a null user
	at edu.harvard.iq.dataverse.DatasetLock.<init>(DatasetLock.java:117)
	at edu.harvard.iq.dataverse.DatasetLock.<init>(DatasetLock.java:104)
	at edu.harvard.iq.dataverse.DatasetServiceBean.addDatasetLock(DatasetServiceBean.java:540)

I also tested adding the same file via the GUI but was unable to reproduce the bug. I can only assume this means that the GUI and the API are taking separate execution paths, which is unfortunate. Anyway, should be fixed.

@pdurbin pdurbin removed their assignment Sep 12, 2017
@kcondon kcondon closed this as completed Sep 25, 2017
@djbrooke djbrooke modified the milestones: 4.9 - Large Data Upload Integration, 4.8 - AWS S3 Support Sep 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests