JanssenProject / jans

An open source enterprise digital identity platform for CIAM or workforce... Janssen is a distribution of standards-based, developer friendly, components that are engineered to work together in any cloud. #OAuth #OpenID #FIDO
https://docs.jans.io
Apache License 2.0
476 stars 75 forks source link

fix(jans-cli-tui) : uploaded assets are not stored on server locations #9943

Open manojs1978 opened 3 weeks ago

manojs1978 commented 3 weeks ago

Describe the bug uploaded assets are not stored on server locations

To Reproduce Steps to reproduce the behavior:

  1. install jans/flex 1.1.6.nightly/ 5.1.6.nightly
  2. upload any type of asset file
  3. showing asset uploaded on screen but it is not stored at desired location
  4. See error

Expected behavior when any asset uploaded it should store at their desired location

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

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

devrimyatar commented 3 weeks ago

@pujavs I were be able to replicate this issue. CLI uploades the file and it is on database, but not on disk:

root@example:~# ls -al //opt/jans/jetty/jans-auth/custom/static
total 8
drwxr-xr-x 2 jetty jetty 4096 Oct 26 11:13 .
drwxr-xr-x 6 jetty jetty 4096 Oct 26 11:13 ..

See the query of documents,

Image

devrimyatar commented 3 weeks ago

wrong reference in PR body

yurem commented 3 weeks ago

Can you retest it again?

manojs1978 commented 3 weeks ago

files uploaded are showing on server Image Image

devrimyatar commented 3 weeks ago

I still can't see

pujavs commented 3 weeks ago

@devrimyatar, just to clarify how asset-mgt works,

Thus this is not a config api issue and the service-module needs to call the document-store API to get the asset uploaded to the server.

moabu commented 5 days ago

Is this still an active issue ? The pull mechanisim did make it in .