{"action":"closed","issue":{"url":"https://api.github.com/repos/youseries/ureport/issues/264","repository_url":"https://api.github.com/repos/youseries/ureport","labels_url":"https://api.github.com/repos/youseries/ureport/issues/264/labels{/name}","comments_url":"https://api.github.com/repos/youseries/ureport/issues/264/comments","events_url":"https://api.github.com/repos/youseries/ureport/issues/264/events","html_url":"https://github.com/youseries/ureport/issues/264","id":305401787,"number":264,"title":"左父格与单元格的合并","user":{"login":"jjianhang","id":37208277,"avatar_url":"https://avatars2.githubusercontent.com/u/37208277?v=4","gravatar_id":"","url":"https://api.github.com/users/jjianhang","html_url":"https://github.com/jjianhang","followers_url":"https://api.github.com/users/jjianhang/followers","following_url":"https://api.github.com/users/jjianhang/following{/other_user}","gists_url":"https://api.github.com/users/jjianhang/gists{/gist_id}","starred_url":"https://api.github.com/users/jjianhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjianhang/subscriptions","organizations_url":"https://api.github.com/users/jjianhang/orgs","repos_url":"https://api.github.com/users/jjianhang/repos","events_url":"https://api.github.com/users/jjianhang/events{/privacy}","received_events_url":"https://api.github.com/users/jjianhang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-15T03:18:45Z","updated_at":"2018-03-15T06:37:44Z","closed_at":"2018-03-15T06:37:44Z","author_association":"NONE","body":"## 为了您的问题能得到及时准确解答，请认真填写下面各个选项，感谢您的配合。\r\n\r\n*  #### 当前使用的UReport的具体版本号：\r\n<dependency>\r\n            <groupId>com.bstek.ureport</groupId>\r\n            <artifactId>ureport2-console</artifactId>\r\n            <version>2.2.4</version>\r\n</dependency>\r\n\r\n\r\n*  #### 遇到的问题描述：\r\n有A、B、C、D、E五列\r\n当A、B列聚合方式为分组，C列为count()，\r\n当D列左父格为C时，报错：Report cells has cyclic dependency. ；\r\n当D列左父格为B时，C列count（）出的数据列无法合并行；\r\n当D列左父格为A时，B列的分组失效。\r\n\r\n\r\n*  #### 涉及到的异常信息（完整异常信息）：\r\n报表计算出错，错误信息如下：\r\ncom.bstek.ureport.exception.CellDependencyException: Report cells has cyclic dependency. \r\nat com.bstek.ureport.build.Context.nextUnprocessedCells(Context.java:263) \r\nat com.bstek.ureport.build.ReportBuilder.buildCell(ReportBuilder.java:94) \r\nat com.bstek.ureport.Utils.fetchTargetCells(Utils.java:85) \r\nat com.bstek.ureport.expression.model.expr.set.CellExpression.compute(CellExpression.java:48) \r\nat com.bstek.ureport.expression.model.expr.BaseExpression.execute(BaseExpression.java:37) \r\nat com.bstek.ureport.expression.model.expr.FunctionExpression.compute(FunctionExpression.java:57) \r\nat com.bstek.ureport.expression.model.expr.JoinExpression.compute(JoinExpression.java:46) \r\nat com.bstek.ureport.expression.model.expr.BaseExpression.execute(BaseExpression.java:37) \r\nat com.bstek.ureport.build.compute.ExpressionValueCompute.compute(ExpressionValueCompute.java:60) \r\nat com.bstek.ureport.build.DataCompute.buildCellData(DataCompute.java:63) \r\nat com.bstek.ureport.build.Context.buildCellData(Context.java:146) \r\nat com.bstek.ureport.build.ReportBuilder.buildCell(ReportBuilder.java:100) \r\nat com.bstek.ureport.Utils.fetchTargetCells(Utils.java:85) \r\nat com.bstek.ureport.expression.model.expr.set.CellExpression.compute(CellExpression.java:48) \r\nat com.bstek.ureport.expression.model.expr.BaseExpression.execute(BaseExpression.java:37) \r\nat com.bstek.ureport.expression.model.expr.FunctionExpression.compute(FunctionExpression.java:57) \r\nat com.bstek.ureport.expression.model.expr.JoinExpression.compute(JoinExpression.java:46) \r\nat com.bstek.ureport.expression.model.expr.BaseExpression.execute(BaseExpression.java:37) \r\nat com.bstek.ureport.build.compute.ExpressionValueCompute.compute(ExpressionValueCompute.java:60) \r\nat com.bstek.ureport.build.DataCompute.buildCellData(DataCompute.java:63) \r\nat com.bstek.ureport.build.Context.buildCellData(Context.java:146) \r\nat com.bstek.ureport.build.ReportBuilder.buildCell(ReportBuilder.java:100) \r\nat com.bstek.ureport.build.ReportBuilder.buildReport(ReportBuilder.java:81) \r\nat com.bstek.ureport.console.html.HtmlPreviewServletAction.loadReport(HtmlPreviewServletAction.java:286) \r\nat com.bstek.ureport.console.html.HtmlPreviewServletAction.execute(HtmlPreviewServletAction.java:78) \r\nat com.bstek.ureport.console.UReportServlet.service(UReportServlet.java:81) \r\nat javax.servlet.http.HttpServlet.service(HttpServlet.java:731) \r\nat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) \r\nat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) \r\nat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) \r\nat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) \r\nat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) \r\nat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) \r\nat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) \r\nat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505) \r\nat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) \r\nat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) \r\nat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) \r\nat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423) \r\nat org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079) \r\nat org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620) \r\nat org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2476) \r\nat org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2465) \r\nat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) \r\nat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) \r\nat org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) \r\nat java.lang.Thread.run(Thread.java:724) \r\n \r\n\r\n*  #### 相关截图：\r\n![zfg](https://user-images.githubusercontent.com/37208277/37442648-829e7ad8-2842-11e8-9f81-254bee47b7fa.png)\r\n![zfg1](https://user-images.githubusercontent.com/37208277/37442656-8c0f063c-2842-11e8-9bdc-308be62d72c6.png)\r\n\r\n"}}
{"actor":{"display_login":"jjianhang"}}