You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you run validate-bundle without including --report-dir, the default value for the internal REPORT_DIR is empty. This leads to the default value for the internal REPORT_FILE to become /validate_summary.log and the default value of the internal RUN_DIR to become /. This obviously creates a permissions issue when trying to create validate_all_files.txt. This results in validate-bundle reporting that there are no products to validate (because validate_all_files.txt doesn't exist), exiting the program.
As a side note, the usage message says that --dir-path is the long form of -d but in the actual code it's --report-dir.
🕵️ Expected behavior
I expected --report-dir to have a default value set if it's not included in the validate-bundle call. It's listed as an optional parameter but to have validate-bundle function correctly, it's currently behaving as a required parameter.
Checked for duplicates
Yes - I've already checked
🐛 Describe the bug
When you run
validate-bundle
without including--report-dir
, the default value for the internalREPORT_DIR
is empty. This leads to the default value for the internalREPORT_FILE
to become/validate_summary.log
and the default value of the internalRUN_DIR
to become/
. This obviously creates a permissions issue when trying to createvalidate_all_files.txt
. This results invalidate-bundle
reporting that there are no products to validate (becausevalidate_all_files.txt
doesn't exist), exiting the program.As a side note, the usage message says that
--dir-path
is the long form of-d
but in the actual code it's--report-dir
.🕵️ Expected behavior
I expected
--report-dir
to have a default value set if it's not included in thevalidate-bundle
call. It's listed as an optional parameter but to havevalidate-bundle
function correctly, it's currently behaving as a required parameter.📜 To Reproduce
validate-bundle --target-bundle /path/to/bundle.xml
🖥 Environment Info
📚 Version of Software Used
validate 3.6.3
🩺 Test Data / Additional context
No response
🦄 Related requirements
No response
Acceptance Criteria
Given
When I perform
Then I expect
⚙️ Engineering Details
No response
🎉 Integration & Test
No response
The text was updated successfully, but these errors were encountered: