Skip to content

Interesting Filter Problem on reverse Many to One #28143

@RobertMolenda

Description

@RobertMolenda

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)}
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions