-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
Bug ReportSomething isn't workingSomething isn't working
Description
Describe the bug
Assign a group to a dataset throws error:
[MDX-00000001] Internal Error, com.alibaba.fastjson.JSONArray cannot be cast to com.alibaba.fastjson.JSONObject
java.lang.ClassCastException: com.alibaba.fastjson.JSONArray cannot be cast to com.alibaba.fastjson.JSONObject
at com.alibaba.fastjson.JSONObject.getJSONObject(JSONObject.java:140)
at io.kylin.mdx.insight.core.meta.acl.KylinAclConvertor.hasTablePermissionByGroup(KylinAclConvertor.java:125)
at io.kylin.mdx.insight.core.meta.acl.KylinAclConvertor.generateAclByGroup(KylinAclConvertor.java:69)
at io.kylin.mdx.insight.core.meta.acl.KylinAclConvertor.getAclProjectModel(KylinAclConvertor.java:57)
at io.kylin.mdx.insight.core.meta.KylinConvertor.getAclProjectModel(KylinConvertor.java:539)
at io.kylin.mdx.insight.core.meta.SemanticAdapter.getAclModel(SemanticAdapter.java:155)
at io.kylin.mdx.insight.server.facade.AclFacade.preparePermission(AclFacade.java:53)
at io.kylin.mdx.insight.server.controller.AclController.getAcl(AclController.java:62)
at io.kylin.mdx.insight.server.controller.AclController$$FastClassBySpringCGLIB$$812005c9.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:771)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
...
Expected behavior
add group successfully without any error.
Screenshots
If applicable, add screenshots to help explain your problem.




Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
Bug ReportSomething isn't workingSomething isn't working