and more in a single search tool across platforms. Read the announcement here. |
03/13/2023 05:15 AM - edited 03/13/2023 05:19 AM
Hello team,
When I click request access for others, select the user, then select an target account to modify.
when it load the account data on update account form, it throw "error" on UI without detail information,
Then I go to debug log and found this exception stack, what should be my next step to check?
What does it mean by "No such property: displayname"? Does it relate to Dynamic Attributes definitions?
Both account and account owner's displayname field shows a value when click user or account entry from Admin module.
2023-03-13 08:01:33,986 [https-jsse-nio-443-exec-23] ERROR errors.GrailsExceptionResolver - MissingPropertyException occurred when processing request: [GET] /ECM/workflowmanagement/hierachyentitlementbyendpoint
No such property: displayname for class: com.saviynt.ecm.identitywarehouse.domain.Accounts
Possible solutions: displayName. Stacktrace follows:
org.codehaus.groovy.grails.web.pages.exceptions.GroovyPagesException: Error processing GroovyPageView: Error executing tag <g:render>: Error executing tag <g:render>: No such property: displayname for class: com.saviynt.ecm.identitywarehouse.domain.Accounts
Possible solutions: displayName
at grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter.doFilter(GrailsAnonymousAuthenticationFilter.java:53)
at com.saviynt.webservice.SaviyntRestAuthenticationFilter.doFilter(SaviyntRestAuthenticationFilter.groovy:145)
at grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.java:62)
at grails.plugin.springsecurity.web.SecurityRequestHolderFilter.doFilter(SecurityRequestHolderFilter.java:59)
at com.mrhaki.grails.plugin.xframeoptions.web.XFrameOptionsFilter.doFilterInternal(XFrameOptionsFilter.java:69)
at com.brandseye.cors.CorsFilter.doFilter(CorsFilter.java:82)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Thanks,
Solved! Go to Solution.
03/13/2023 07:00 AM
Found the issue. it is because a dynamic attribute refer to displayname column of account. Looks it is not allowed. only applicable to customproperties.
This should be enhanced to allow dynamic attribute map to any properties of account. Otherwise it need to occupy a separate custom property but the actual property cannot be used.
03/13/2023 07:14 AM
Display name is possible but you need to use like this for that: displayName. Issue is with case please correct it accordingly and it will work
03/13/2023 08:37 AM
Thanks Saathvik for your reminder. yes, it is the capital letter issue.