-
Notifications
You must be signed in to change notification settings - Fork 12
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
Validate variable length record detection does not report as expected on collection product #491
Comments
@jpl-jengelke thanks! this is a bug, but we will not fix this at the moment since I believe it only applies to collection products. Can you confirm this is handled correctly for all other products? |
@jordanpadams I tested with validate #423 by modifying the file
There were no complaints about fixed-length fields in the *.tab files. I believe it affects all products if that test is valid. |
@jpl-jengelke good catch, but this is actually a requirement that has not been implemented yet. The content validation currently only validates Here is an example of where this validation works (it should fail per the first line of the .tab being one character short). |
@jordanpadams Just to cover the bases for documentation purposes, is there a separate ticket to address this for collection products? |
@jpl-jengelke that should be captured by #229 since a collection product has a |
reopening since #390 was incorrectly closed and original implementation was invalid |
closing this again. looks like this ticket is invalid because validate should not check variable length records in collection inventories. collection inventories are delimited tables, not fixed width tabls |
I guess you (@jordanpadams) figured out it was a File_Area_Inventory. We do and we must allow that to be a Table_Delimited, but if Dick's arguing that any file with extension .TAB should be fixed width, that's got merit, but there might be hundreds of collection*.tab with variable width. |
So am I still needed to test something? |
@rchenatjpl not at this time. Additionally, per the other thread on #390 (sorry for jumping back and forth), I'm not sure we can, or should, assume fixed width and delimited at the same time based upon a file name. |
🐛 Describe the bug identified during I&T
Unexpectedly,
validate
does not report the requisite error, “Validate should report that *.tab files must have fixed-length fields”.🥼 Related Test Case(s)
B12.1/VAL.6: #390
🔁 : Related issues
#406
➕ Additional Details
📜 To Reproduce
Steps to reproduce the behavior:
🕵️ Expected behavior
Error is reported that *.tab files must have fixed-length fields.
📚 Version of Software Used
validate
2.2.0🩺 Test Data / Additional context
https://github.com/NASA-PDS/validate/files/6970348/validate-tab.tar.gz
https://github.com/NASA-PDS/validate/files/6970349/validate-csv.tar.gz
🏞Screenshots
🖥 System Info
🦄 Related requirements
⚙️ Engineering Details
The text was updated successfully, but these errors were encountered: