From 5a3ed254d4f7ccef8c18c0f0d8cb7a9f59e8d556 Mon Sep 17 00:00:00 2001 From: Wenrui LI Date: Fri, 15 Jul 2022 16:02:13 +0800 Subject: [PATCH 1/4] * tune memory limit, client zips sometimes take more than 512M. needs refactor later. --- xuanxuan/extension/xuan/misc/ext/control/downloadclient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xuanxuan/extension/xuan/misc/ext/control/downloadclient.php b/xuanxuan/extension/xuan/misc/ext/control/downloadclient.php index 370e01f042..e74d94ff3e 100644 --- a/xuanxuan/extension/xuan/misc/ext/control/downloadclient.php +++ b/xuanxuan/extension/xuan/misc/ext/control/downloadclient.php @@ -102,7 +102,7 @@ class myMisc extends misc if($action == 'downloadPackage') { - ini_set('memory_limit', '512M'); + ini_set('memory_limit', '1G'); $account = $this->app->user->account; $clientDir = $this->app->wwwRoot . 'data/client/' . "$account/"; From 6c16eab8eb967110a72bca8dcbf7a440c4b7b3a5 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Mon, 18 Jul 2022 08:46:51 +0800 Subject: [PATCH 2/4] * Fix bug #25399. --- module/my/view/changepassword.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/my/view/changepassword.html.php b/module/my/view/changepassword.html.php index c84e4df11f..4492c2a68f 100755 --- a/module/my/view/changepassword.html.php +++ b/module/my/view/changepassword.html.php @@ -45,7 +45,7 @@ - + app->user->modifyPasswordReason)):?> From 5a56b7bb21c7bfefa0f218495902d3656a261f80 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Mon, 18 Jul 2022 08:50:45 +0800 Subject: [PATCH 3/4] * Fix bug #25400. --- module/execution/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/execution/model.php b/module/execution/model.php index bc4b048e4c..355ee67754 100644 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -1409,7 +1409,7 @@ class executionModel extends model ->andWhere('t2.deleted')->eq(0) ->fetchPairs(); - $products = $this->loadModel('product')->getProductPairsByProject($projectID); + $products = $this->loadModel('product')->getProductPairsByProject($projectID, 'all', $executionProducts); foreach($executions as $id => $execution) { From 5688575ea9d22b197e8b30a82dab03d4b42ad9e4 Mon Sep 17 00:00:00 2001 From: zhouxudong Date: Mon, 18 Jul 2022 03:13:48 +0000 Subject: [PATCH 4/4] * Fix bug. --- module/task/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/task/control.php b/module/task/control.php index e7d5578ab6..8bd42239c2 100755 --- a/module/task/control.php +++ b/module/task/control.php @@ -798,7 +798,7 @@ class task extends control $execution = $this->execution->getByID($task->execution); $execLaneType = $this->session->execLaneType ? $this->session->execLaneType : 'all'; $execGroupBy = $this->session->execGroupBy ? $this->session->execGroupBy : 'default'; - if(($this->app->tab == 'execution' or ($this->config->vision == 'lite' and $this->app->tab == 'project')) and $execution->type == 'kanban') + if(($this->app->tab == 'execution' or ($this->config->vision == 'lite' and $this->app->tab == 'project' and $this->session->kanbanview == 'kanban')) and $execution->type == 'kanban') { $rdSearchValue = $this->session->rdSearchValue ? $this->session->rdSearchValue : ''; $kanbanData = $this->loadModel('kanban')->getRDKanban($task->execution, $execLaneType, 'id_desc', 0, $execGroupBy, $rdSearchValue);