Skip to content
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

fix(jans-cli-tui) edit client's scope #4541

Closed
devrimyatar opened this issue Apr 10, 2023 · 0 comments · Fixed by #4542
Closed

fix(jans-cli-tui) edit client's scope #4541

devrimyatar opened this issue Apr 10, 2023 · 0 comments · Fixed by #4542
Assignees
Labels
comp-jans-cli-tui Component affected by issue or PR kind-bug Issue or PR is a bug in existing functionality

Comments

@devrimyatar
Copy link
Contributor

Describe the bug

When editing client, TUI raises the following error:

 File "/home/iromli/.shiv/jans-cli-tui.pyz_cb2d0d4e4082f7d606ee952647ab72646a410e2fa313b73d01da1f503979a891/site-packages/cli_tui/plugins/010_auth_server/main.py", line 757, in edit_client
    self.edit_client_dialog = EditClientDialog(
  File "/home/iromli/.shiv/jans-cli-tui.pyz_cb2d0d4e4082f7d606ee952647ab72646a410e2fa313b73d01da1f503979a891/site-packages/cli_tui/plugins/010_auth_server/edit_client_dialog.py", line 85, in __init__
    self.fill_client_scopes()
  File "/home/iromli/.shiv/jans-cli-tui.pyz_cb2d0d4e4082f7d606ee952647ab72646a410e2fa313b73d01da1f503979a891/site-packages/cli_tui/plugins/010_auth_server/edit_client_dialog.py", line 205, in fill_client_scopes
    scope = self.get_scope_by_inum(scope_dn)
  File "/home/iromli/.shiv/jans-cli-tui.pyz_cb2d0d4e4082f7d606ee952647ab72646a410e2fa313b73d01da1f503979a891/site-packages/cli_tui/plugins/010_auth_server/edit_client_dialog.py", line 92, in get_scope_by_inum
    if scope['inum'] == inum or scope['dn'] == inum:
    ```
@devrimyatar devrimyatar added kind-bug Issue or PR is a bug in existing functionality comp-jans-cli-tui Component affected by issue or PR labels Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-jans-cli-tui Component affected by issue or PR kind-bug Issue or PR is a bug in existing functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants