generator-jhipster icon indicating copy to clipboard operation
generator-jhipster copied to clipboard

Relationships to User are saved in a microservice architecture, but not rendered

Open mraible opened this issue 1 year ago • 0 comments

Overview of the issue

Today, I tried my original reactive microservices example from this blog post and everything works as expected. The example is created with v7.0.1 and you can save a blog entity with or without a user and it all works.

Screen Shot 2022-08-10 at 23 42 49 Screen Shot 2022-08-10 at 23 42 53 Screen Shot 2022-08-10 at 23 43 04

If you create this same example with 7.9.2, it saves the relationship to the user, but it does render it on the list or view screens. Furthermore, Angular does not render the user's login on the list screen.

For more information, see https://github.com/jhipster/generator-jhipster/issues/19342#issuecomment-1208877640 and subsequent comments.

Motivation for or Use Case

This functionality existed in v7.0.1 and therefore should be supported in all 7.x releases.

Reproduce the error
jhipster jdl reactive-ms

Then, start all the Docker containers for the gateway and start it. Start Neo4j for the blog app and start it as well. Log in and navigate to adding a new blog. After you add a new one, you'll see it rendered on the list screen. However, if you navigate to the view or edit screens, the user's login is not displayed.

JHipster Version(s)

7.9.2

JHipster configuration

https://github.com/jhipster/jdl-samples/blob/main/reactive-ms.jdl

mraible avatar Aug 11 '22 05:08 mraible