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:(jan-cli) unable to get complete information about ConfigurationAgamaFlow #2534

Closed
manojs1978 opened this issue Oct 4, 2022 · 0 comments · Fixed by #2561
Closed

fix:(jan-cli) unable to get complete information about ConfigurationAgamaFlow #2534

manojs1978 opened this issue Oct 4, 2022 · 0 comments · Fixed by #2561
Assignees
Labels
kind-bug Issue or PR is a bug in existing functionality
Milestone

Comments

@manojs1978
Copy link
Contributor

Describe the bug
unable to get complete information about ConfigurationAgamaFlow

To Reproduce
Steps to reproduce the behavior:

  1. run /opt/jans/jans-cli/config-cli.py --info ConfigurationAgamaFlow
  2. See error

Expected behavior
should get complete list of operation id and information about ConfigurationAgamaFlow

Screenshots
image

Desktop (please complete the following information):

  • OS: ubuntu
  • Browser
  • Version 20

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
getting below error in log

Traceback (most recent call last):
File "/opt/jans/jans-cli/config-cli.py", line 2380, in main
cli_object.help_for(args.info)
File "/opt/jans/jans-cli/config-cli.py", line 2022, in help_for
schema_path = path['requestBody']['content'][apptype]['schema']['$ref']
File "/usr/lib/python3/dist-packages/ruamel/yaml/comments.py", line 747, in getitem
return ordereddict.getitem(self, key)
KeyError: '$ref'
Traceback (most recent call last):
File "/opt/jans/jans-cli/config-cli.py", line 2380, in main
cli_object.help_for(args.info)
File "/opt/jans/jans-cli/config-cli.py", line 2022, in help_for
schema_path = path['requestBody']['content'][apptype]['schema']['$ref']
File "/usr/lib/python3/dist-packages/ruamel/yaml/comments.py", line 747, in getitem
return ordereddict.getitem(self, key)
KeyError: '$ref'

@manojs1978 manojs1978 added the kind-bug Issue or PR is a bug in existing functionality label Oct 4, 2022
@moabu moabu assigned devrimyatar and unassigned moabu Oct 4, 2022
@moabu moabu added this to the 1.0.3 milestone Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind-bug Issue or PR is a bug in existing functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants