Due to changes in MetacatHandler that creates system metadata from uploaded EML documents, OnlineDataAccessTest was failing certain tests because of errors in how the test documents were originally uploaded. MetacatHandler.createSystemMetadata() was throwing exceptions because of these errors, specifically when a data document is uploaded with a docid that is difeerent than the docid statement in the EML distribution URL. Most errors involved stated docids with .2 versions, and the metadata had .1 versions.
Modified each test in OnlineDataAccessTest that had incorrect metadata from the declared docids. Lastly, onlineData201CasesTest_5 was failing due to a data document not being uploaded. Now it does, and both the failure and success test succeed as expected.
Due to changes in MetacatHandler that creates system metadata from uploaded EML documents, OnlineDataAccessTest was failing certain tests because of errors in how the test documents were originally uploaded. MetacatHandler.createSystemMetadata() was throwing exceptions because of these errors, specifically when a data document is uploaded with a docid that is difeerent than the docid statement in the EML distribution URL. Most errors involved stated docids with .2 versions, and the metadata had .1 versions.
Modified each test in OnlineDataAccessTest that had incorrect metadata from the declared docids. Lastly, onlineData201CasesTest_5 was failing due to a data document not being uploaded. Now it does, and both the failure and success test succeed as expected.