Using the command line client to store new version of already existing file returns a SynapseHTTPError:
synapse store C4_PCBC_CV_Ontology_For_Synapse.csv
Upload completed in 2 seconds.
SynapseHTTPError: 500 Server Error: Internal Server Error
Send a Jira bug report to the platform team with this message: java.lang.NullPointerException
Showing that file says it doesn't exist:
[kdaily@localhost data]$ synapse show C4_PCBC_CV_Ontology_For_Synapse.csv | les
SynapseError: File not found in Synapse
However, listing the directory in which it resides shows the file:
[kdaily@localhost data]$ synapse list syn2755407 -r
The web client shows a number of recent uploads, but none have the changes made to the file.
Maybe I'm using client wrong (without specifying --parentid), as I successfully stored the problem file by specifying it.
However, I got no error when storing a different file without specifying --parentid.
These are legitimate bugs: for one we should give better feedback and the 500 error is a bug for sure, though on which side I don't know.
As you figured out, you should be doing the following:
Thanks for the bug report!
Three subparts this:
synapse store <filename> stores using the root node (syn4489) as the parent, which should be prevented.
Investigate how the 500 comes about
The issue with synapse show is probably just making clear what's happening (not found based on MD5, I'm guessing.)
I think this just needs validation?
Confirmed - client requires parentId now.