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

Interesting Filter Problem on reverse Many to One #28143

Open
RobertMolenda opened this issue Dec 8, 2024 · 1 comment
Open

Interesting Filter Problem on reverse Many to One #28143

RobertMolenda opened this issue Dec 8, 2024 · 1 comment

Comments

@RobertMolenda
Copy link

Very simple "ClientContact - and a "Manager / Manages" relationship

on the ClientContact form - configure a manager - and it shows up on the standard list/console as expected

Since the reverse relationship is configured you get the records (cool)

However when you click that configured manager - it properly filters the list - to the person configured - but that person's record is not showing the "Manager" name.

Will attach screen-shots of what I'm seeing

JDL File to create issue:
application {
config {
applicationType monolith
authenticationType jwt
baseName regulatory360
buildTool maven
cacheProvider ehcache
clientFramework angular
clientTheme none
databaseType sql
devDatabaseType h2Disk
enableHibernateCache true
enableSwaggerCodegen false
enableTranslation true
jhipsterVersion "8.7.3"
languages [en, es]
microfrontends []
nativeLanguage en
packageName com.surfcat.admin360
prodDatabaseType postgresql
reactive false
searchEngine false
serviceDiscoveryType false
testFrameworks []
websocket false
withAdminUi true
}
entities *
}

entity ClientContact {
name String required unique
role String required
contactPreference ContactPreference required
email String
phoneNumber String
}

relationship ManyToOne {
// Direction doesn't matter - same issue when reversed as a OneToMany
// This has the name on the form and List - with name Manager
// However when you filter the managers name goes away
ClientContact{Manager(name)} to ClientContact{Manages(name)}
}

@RobertMolenda
Copy link
Author

Base ClientContact listing showing manager is shown as expected
image

Listing when the list is filtered and the manager column is empty which was filled before
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant