We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug as a Story After importing https://raw.githubusercontent.com/GSA/fedramp-automation/master/dist/content/baselines/rev4/json/FedRAMP_rev4_MODERATE-baseline-resolved-profile_catalog.json into GUI: Database Administration -> Catalog datas, going to "Control" tab results in "Exception Type: KeyError at /controls/"
To Reproduce Steps to reproduce the behavior:
Expected behavior An imported catalog listed in the results
Screenshots
Desktop (please complete the following information):
9823f1d (HEAD -> main, origin/main, origin/HEAD, lib-fix) main@{0}: clone: from github.com:GovReady/govready-q.git
Environment:
Request Method: GET Request URL: http://127.0.0.1:8000/controls/ Django Version: 3.2.5 Python Version: 3.9.9
Error
Traceback (most recent call last): File "/Users/XXXX/Library/Python/3.9/lib/python/site-packages/django/core/handlers/exception.py", line 47, in inner response = get_response(request) File "/Users/XXXX/Library/Python/3.9/lib/python/site-packages/django/core/handlers/base.py", line 181, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/Users/XXXX/Development/github/govready-q/controls/views.py", line 70, in catalogs "catalogs": Catalogs(), File "/Users/XXXX/Development/github/govready-q/controls/oscal.py", line 43, in init self.index = self._build_index() File "/Users/XXXX/Development/github/govready-q/controls/oscal.py", line 58, in build_index {'id': catalog['id'], 'catalog_key': catalog_key, 'catalog_key_display': catalog_key.replace("", " "), Exception Type: KeyError at /controls/ Exception Value: 'id'
GIVEN I import a OSCAL 1.0.0 Catalog and compatible Baseline into database catalog such as https://raw.githubusercontent.com/GSA/fedramp-automation/master/dist/content/baselines/rev4/json/FedRAMP_rev4_MODERATE-baseline-resolved-profile_catalog.json WHEN I click on "Controls" THEN The imported catalog should appear.
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
@gbrown-gis were you able to resolve this ?
Sorry, something went wrong.
No branches or pull requests
Describe the bug as a Story
After importing https://raw.githubusercontent.com/GSA/fedramp-automation/master/dist/content/baselines/rev4/json/FedRAMP_rev4_MODERATE-baseline-resolved-profile_catalog.json into GUI: Database Administration -> Catalog datas, going to "Control" tab results in "Exception Type: KeyError at /controls/"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
An imported catalog listed in the results
Screenshots
Desktop (please complete the following information):
Developer hints
9823f1d (HEAD -> main, origin/main, origin/HEAD, lib-fix) main@{0}: clone: from github.com:GovReady/govready-q.git
Environment:
Error
Acceptance criteria
GIVEN I import a OSCAL 1.0.0 Catalog and compatible Baseline into database catalog such as https://raw.githubusercontent.com/GSA/fedramp-automation/master/dist/content/baselines/rev4/json/FedRAMP_rev4_MODERATE-baseline-resolved-profile_catalog.json
WHEN I click on "Controls"
THEN The imported catalog should appear.
Additional context
Add any other context about the problem here.
Links referenced in issue
The text was updated successfully, but these errors were encountered: