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

Skip delimited table offset check when no object_length is given #783

Merged
merged 2 commits into from
Dec 8, 2023

Conversation

al-niessner
Copy link
Contributor

@al-niessner al-niessner commented Dec 6, 2023

🗒️ Summary

#684 was about over specification. This is about under specification. Changes to fix this are in NASA-PDS/pds4-jparser#109

⚙️ Test Data and/or Report

All automated unit tests below should pass

♻️ Related Issues

Closes #781
#684
NASA-PDS/pds4-jparser#109

@al-niessner al-niessner requested a review from a team as a code owner December 6, 2023 18:11
@al-niessner al-niessner marked this pull request as draft December 6, 2023 18:11
@al-niessner
Copy link
Contributor Author

@jordanpadams

The actual fix will be in jparser. I see that it works on this example but cannot test it in regression because mvn test always uses the downloaded artifact rather than my local stuff. I will push the jparser stuff then need you to make a new build of it or let me do it then rerun these tests to make sure did not break anything else.

@jordanpadams
Copy link
Member

@al-niessner copy that. I think if you run mvn install on pds4-jparser first, it should work, but maybe not...

@al-niessner al-niessner self-assigned this Dec 6, 2023
@al-niessner
Copy link
Contributor Author

@jordanpadams

Did mvn install and it succeeded but it does not appear to be visible to this branch. Made it locally maybe?

@al-niessner
Copy link
Contributor Author

@jordanpadams

It may have installed locally, but mvn build of validate still prefers the on the net.

@al-niessner
Copy link
Contributor Author

@jordanpadams

Let me know when the new jparser is public available and its version. Still failing.

@al-niessner al-niessner marked this pull request as ready for review December 8, 2023 20:16
@jordanpadams jordanpadams changed the title 781: delimited table with unknowable size Skip delimited table offset check when no object_length is given Dec 8, 2023
@jordanpadams jordanpadams merged commit 3de8982 into main Dec 8, 2023
3 checks passed
@jordanpadams jordanpadams deleted the issue_781 branch December 8, 2023 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Validate making incorrect assumption that first object has and object length == file_size
3 participants