missing_context_reference warning - what does this mean? #505
-
I have a large bundle that I validated with the latest version of validate and got the following summary: 0 error(s) Product Validation Summary: Referential Integrity Check Summary: Message Types: We understand and have fixed the warning.integrity.member_not_found. What we don't know how to fix are the warning.integrity.missing_context_reference products. The full message is as follows: WARNING [warning.integrity.missing_context_reference] The context reference 'urn:nasa:pds:sci_calibrated:data:xxx_a' could not be found in this bundle but it was defined in urn:nasa:pds:sci_calibrated:browse:xxx_a::2.1. If I manually look for the data collection product, I can find it. It has a lid that matches the lid that supposedly could not be found. I don't understand what the warning message is trying to tell me. Help? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
@katecrombie what version of validate are you running? I believe we reverted that change before we tagged a stable release but may have missed something. |
Beta Was this translation helpful? Give feedback.
-
We ran using version 2.1.0 PDS Validate Tool Report Configuration: |
Beta Was this translation helpful? Give feedback.
-
@katecrombie can you try the latest release? https://github.com/NASA-PDS/validate/releases/tag/v2.2.0 |
Beta Was this translation helpful? Give feedback.
-
@jordanpadams we'll give it try. It will be a while before we get results to share. |
Beta Was this translation helpful? Give feedback.
-
@jordanpadams validate version 2.2.0 "fixed" the issue. We now validate with no errors (after a fix) and no warnings. |
Beta Was this translation helpful? Give feedback.
-
@katecrombie excellent! for some background, that WARNING you were seeing was some new functionality we attempted to implement to ensure that parent bundle/collections contained the context references (targets, instruments, etc.) of their child products (#69) . However, the implementation was (1) riddled with bugs and (2) the error message was obviously not intuitive enough. We may implement this again in the future to enhance search, but it has not bubbled up just yet. |
Beta Was this translation helpful? Give feedback.
@katecrombie can you try the latest release? https://github.com/NASA-PDS/validate/releases/tag/v2.2.0