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): unable to create asset #8485

Closed
manojs1978 opened this issue May 11, 2024 · 5 comments
Closed

fix(jans-cli): unable to create asset #8485

manojs1978 opened this issue May 11, 2024 · 5 comments
Assignees
Labels
kind-bug Issue or PR is a bug in existing functionality
Milestone

Comments

@manojs1978
Copy link
Contributor

Describe the bug
unable to create asset

To Reproduce
Steps to reproduce the behavior:

  1. install jans 1.1.2.nighlty
  2. launch cli-tui
  3. create asset
  4. See error

Expected behavior
should able to create asset
Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • OS: ubuntu
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]
    -jans 1.1.2.nightly
    DB - pgsql
    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
Add any other context about the problem here.

@mo-auto mo-auto added the kind-bug Issue or PR is a bug in existing functionality label May 11, 2024
@devrimyatar
Copy link
Contributor

This is not TUI issue, but related to #8519

@manojs1978
Copy link
Contributor Author

manojs1978 commented May 22, 2024

@pujavs
in latest build ,
getting below error in asset creation
image

@pujavs
Copy link
Contributor

pujavs commented May 23, 2024

@manoj @devrimyatar this is valid validation if jansModuleProperty is null or empty.
So asset mgt does two things;

  1. Saves assets in DB DocumentStore
  2. Uploads assets on jetty server. For this we need the file-name is stored in displayName and it needs to be file-name with valid extension and jansModuleProperty is list of valid module service names where the file can be saved/uploaded on server. example jans-auth, jans-scim, jans-config-api, etc

@manojs1978
Copy link
Contributor Author

@devrimyatar could you please make jansModuleProperty as mendatory field

@moabu moabu added this to the 1.1.3 milestone May 29, 2024
@devrimyatar
Copy link
Contributor

This is not TUI issue and was fixed by #8526

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

No branches or pull requests

5 participants