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

Fix bug with file extension checks on products #1112

Merged
merged 7 commits into from
Jan 16, 2025
Merged

Conversation

al-niessner
Copy link
Contributor

@al-niessner al-niessner commented Jan 14, 2025

🗒️ Summary

Validate moved away from checking extensions and checks content instead. Bad code was left in place that erroneously checked the extension of the file causing this problem. Removed offending code.

⚙️ Test Data and/or Report

All unit tests below pass especially the new one github1100.

♻️ Related Issues

Closes #1100
Closes #1103

@al-niessner al-niessner self-assigned this Jan 14, 2025
@al-niessner al-niessner requested a review from a team as a code owner January 14, 2025 19:58
Al Niessner added 5 commits January 14, 2025 12:06
Seems the catalog is messed up and some strange things happening with schema/schematron on PDS.
Copy link
Member

@nutjob4life nutjob4life left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Visual inspection: ✓

Tests: ✓

Transcript:

[INFO] Tests run: 236, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 614.7 s -- in cucumber.CucumberTest
[INFO] 
[INFO] Results:
[INFO] 
[WARNING] Tests run: 259, Failures: 0, Errors: 0, Skipped: 23
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  10:49 min
[INFO] Finished at: 2025-01-14T15:55:00-06:00
[INFO] ------------------------------------------------------------------------

@al-niessner
Copy link
Contributor Author

@jordanpadams

I want to merge this so that I can incorporate it into #1113 to smooth out cucumber. Can you review/merge it please?

@jordanpadams jordanpadams changed the title 1100: bad extension check on products Fix bug with file extension checks on products Jan 16, 2025
@jordanpadams jordanpadams merged commit 057dfd0 into main Jan 16, 2025
4 checks passed
@jordanpadams jordanpadams deleted the issue_1100 branch January 16, 2025 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants