kbss-cvut / termit-ui

UI for TermIt Vocabulary Manager
GNU General Public License v3.0
4 stars 6 forks source link

Nezobrazují se podřazené pojmy. #459

Closed psiotwo closed 4 months ago

psiotwo commented 5 months ago

Popis problému

image

ledsoft commented 5 months ago

Thanks for reporting this. According to the logs, this is caused by attempting to map a null key EhCache when checking access rights. Here's the relevant part of the stacktrace:

at cz.cvut.kbss.termit.service.repository.RepositoryAccessControlListService$$SpringCGLIB$$0.findFor(<generated>)
termit-ipr-prod-backend  |  at cz.cvut.kbss.termit.service.security.authorization.acl.AccessControlListBasedAuthorizationService.canReadAnonymously(AccessControlListBasedAuthorizationService.java:75)
termit-ipr-prod-backend  |  at jdk.internal.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
termit-ipr-prod-backend  |  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
termit-ipr-prod-backend  |  at java.base/java.lang.reflect.Method.invoke(Method.java:568)
termit-ipr-prod-backend  |  at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:351)
termit-ipr-prod-backend  |  at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
termit-ipr-prod-backend  |  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
termit-ipr-prod-backend  |  at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:765)
termit-ipr-prod-backend  |  at net.bull.javamelody.MonitoringSpringInterceptor.invoke(MonitoringSpringInterceptor.java:76)
termit-ipr-prod-backend  |  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
termit-ipr-prod-backend  |  at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:765)
termit-ipr-prod-backend  |  at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:717)
termit-ipr-prod-backend  |  at cz.cvut.kbss.termit.service.security.authorization.acl.AccessControlListBasedAuthorizationService$$SpringCGLIB$$0.canReadAnonymously(<generated>)
termit-ipr-prod-backend  |  at cz.cvut.kbss.termit.service.security.authorization.VocabularyAuthorizationService.canRead(VocabularyAuthorizationService.java:157)

Will investigate and fix.