ncrncornell / ced2ar

Comprehensive Extensible Data Documentation and Access Repository (CED²AR) was designed to improve the documentation and discoverability of both public and restricted data
https://www.ncrn.cornell.edu/projects/#Metadata_Standards_and_Tools
Other
6 stars 1 forks source link

Uploads sometimes fail and produce bad error message: invalid XML #9

Closed MatthewRichardsonICPSR closed 7 years ago

MatthewRichardsonICPSR commented 7 years ago

I attempted to upload icpsr03496-0002.xml and got an error message about the XML being invalid. I validated the XML; there's nothing wrong with it. I then attempted the same file again. On the second pass, the upload worked with no errors. Interestingly enough, the second message said

"Upload complete, icpsr03496-0002 (1) was sucessfully added. View codebook"

That (1) implies it received a second version of the same file...so it received the first file.

The only difference I noted between the two uploads was that I made the Label shorter on the second one, but I doubt that's the problem.

screen shot 2017-02-17 at 3 57 09 pm 2

MatthewRichardsonICPSR commented 7 years ago

When I attempted a larger file (~38MB), it failed the first three times, when I used the label "Desistance2000-2010". The fourth time, I tried just "Desistance" and it uploaded fine.

And the next file I added had a hyphen in the label and caused no issues.

Kbrums commented 7 years ago

There is a 20 char limit on handle, label and version. The incorrect error message was being displayed but I have fixed that now.