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(admin-ui): updating asset showing 500 error #1861

Open
manojs1978 opened this issue Oct 18, 2024 · 4 comments
Open

fix(admin-ui): updating asset showing 500 error #1861

manojs1978 opened this issue Oct 18, 2024 · 4 comments
Assignees
Labels
bug Something isn't working comp-admin-ui Component affected by issue or PR kind-bug Issue or PR is a bug in existing functionality

Comments

@manojs1978
Copy link
Contributor

manojs1978 commented Oct 18, 2024

Describe the bug
update asset giving 500 error

To Reproduce
Steps to reproduce the behavior:

  1. install flex 5.1.6.nightly
  2. login to admin ui
  3. click asset in admin
  4. upload new asset of png file in jans-auth
  5. edit uploaded asset and modify file , name and relative service
  6. save changes
  7. See error

Expected behavior
should not get any error

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • OS: suse
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]
    -flex 5.1.6.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.

asseedit-2024-10-18_12.30.34.mp4
@manojs1978 manojs1978 added the bug Something isn't working label Oct 18, 2024
@mo-auto mo-auto added comp-admin-ui Component affected by issue or PR kind-bug Issue or PR is a bug in existing functionality labels Oct 18, 2024
@manojs1978 manojs1978 changed the title fix(admin-ui): getting error when clicked on asset button fix(admin-ui): update asset giving 500 error Oct 18, 2024
@manojs1978 manojs1978 changed the title fix(admin-ui): update asset giving 500 error fix(admin-ui): updating asset showing 500 error Oct 18, 2024
@pujavs
Copy link
Contributor

pujavs commented Oct 24, 2024

@manojs1978 for jans-lock the config is avialable only for asset type .jar. You can confirm this either from any UI or from source code -> https://github.com/JanssenProject/jans/blob/main/jans-linux-setup/jans_setup/templates/jans-config-api/dynamic-conf.json#L78-L296

Request you to please try uploading a jar file. I will also update the error message to indicate the same.

  • Testing
    image

@pujavs
Copy link
Contributor

pujavs commented Oct 24, 2024

Made error message descriptive via PR [9919] (JanssenProject/jans#9919)

  • FYI
    image

@pujavs
Copy link
Contributor

pujavs commented Oct 25, 2024

@manojs1978, request you to please verify and confirm

@manojs1978
Copy link
Contributor Author

manojs1978 commented Oct 25, 2024

ok checking once changes in latest build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working comp-admin-ui Component affected by issue or PR kind-bug Issue or PR is a bug in existing functionality
Projects
None yet
Development

No branches or pull requests

5 participants