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
"Check Secret" button on Secrets page is broken #4127
Labels
type: bug
Something isn't working as expected
Comments
7 tasks
itdependsnetworks
pushed a commit
to itdependsnetworks/nautobot
that referenced
this issue
Jul 28, 2023
HanlinMiao
added a commit
that referenced
this issue
Aug 1, 2023
* cherry-picked InterfaceRedundancyGroup changes * flake8 * flake8 * tests * check-schema tests * Bump cryptography from 41.0.0 to 41.0.2 (#4126) * Bump cryptography from 41.0.0 to 41.0.2 Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.0 to 41.0.2. - [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst) - [Commits](pyca/cryptography@41.0.0...41.0.2) --- updated-dependencies: - dependency-name: cryptography dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> * Change fragment * Monday brain --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Glenn Matthews <glenn.matthews@networktocode.com> * Fixed custom fields not auto-populating when creating objects through… (#4123) * Fixed custom fields not auto-populating when creating objects through the ORM. * Fix change fragment name * Add more testing and move to CustomFieldModelTest * Update nautobot/extras/tests/test_customfields.py Co-authored-by: Glenn Matthews <glenn.matthews@networktocode.com> * Update nautobot/extras/tests/test_customfields.py Co-authored-by: Glenn Matthews <glenn.matthews@networktocode.com> * Update nautobot/extras/tests/test_customfields.py Co-authored-by: Glenn Matthews <glenn.matthews@networktocode.com> * Fix unit tests§ * Sort imports. * Update docs. --------- Co-authored-by: Glenn Matthews <glenn.matthews@networktocode.com> * Fix #4127 (#4139) * Fix spurious test_filters.RegionTestCase failures * Fix spurious test_views.RegionTestCase failures * Implement Interface Redundancy Groups * Regenerate migrations to avoid conflict. * Fix migration numbering. * Tweaked UI columns. * Formatted with black. * Added Region, Site, and Rack to InterfaceRedundancyGroupAssociationForm. * s/device/interface/g * Satisfy Flake8 concerns. * Formatted with Black 23.7.0 * Implement PR suggestions. * Remove unused imports. * Removed conditionals from template code. * Address PR feedback. * Address PR comments. * Add CSV import/export to InterfaceRedundancyGroup. * added unittests and address some feedback * fix unittests failure * fix unittests failure and revert commit from develop and address almost all feedback * additional cleanup * unittest * unittest improvements * reformat InterfaceRedundancyGroup interfaces column * make InterfaceRedundancyGroupAssociation a ChangeLoggedModel * merge with develop-1.6 * migration filename changes * PR feedback * flake8 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Hanlin Miao <hanlin980505@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Glenn Matthews <glenn.matthews@networktocode.com> Co-authored-by: Leo Kirchner <Kircheneer@users.noreply.github.com>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Environment
Steps to Reproduce
Expected Behavior
I expected to see a popup with a status message of either "The secret was successfully retrieved." or "Error retrieving secret: ...".
Observed Behavior
No popup is created and the following error messages are generated in the console:
Uncaught SyntaxError: expected expression, got '<'
Uncaught ReferenceError: checkSecret is not defined
Likely Cause
PR#4048 added
{{ block.super }}
inside of a script tag, causing it to be nested and generate these errors. Moving this import outside of the script tag should make it work again.The text was updated successfully, but these errors were encountered: