diff --git a/module/action/model.php b/module/action/model.php
index cfa77affe7..a95df52acf 100755
--- a/module/action/model.php
+++ b/module/action/model.php
@@ -711,6 +711,7 @@ class actionModel extends model
{
list($objectLabel, $moduleName, $methodName, $vars) = explode('|', $action->objectLabel);
$action->objectLink = helper::createLink($moduleName, $methodName, sprintf($vars, $action->objectID));
+ if($action->objectType == 'user') $action->objectLink = helper::createLink($moduleName, $methodName, sprintf($vars, $action->actor));
$action->objectLabel = $objectLabel;
}
else
diff --git a/module/bug/control.php b/module/bug/control.php
index 3f79ae9a80..da4c5cf675 100644
--- a/module/bug/control.php
+++ b/module/bug/control.php
@@ -914,8 +914,8 @@ class bug extends control
*/
public function batchResolve($resolution, $resolvedBuild = '')
{
- $bugIDList = $this->post->bugIDList ? $this->post->bugIDList : die(js::locate($this->session->bugList, 'parent'));
- $this->bug->batchResolve($bugIDList, $resolution, $resolvedBuild);
+ $bugIDList = $this->post->bugIDList ? $this->post->bugIDList : die(js::locate($this->session->bugList, 'parent'));
+ $bugIDList = $this->bug->batchResolve($bugIDList, $resolution, $resolvedBuild);
if(dao::isError()) die(js::error(dao::getError()));
foreach($bugIDList as $bugID)
{
diff --git a/module/bug/model.php b/module/bug/model.php
index 2aaa7453c5..e2dc03de56 100644
--- a/module/bug/model.php
+++ b/module/bug/model.php
@@ -701,6 +701,7 @@ class bugModel extends model
->setDefault('confirmed', 1)
->setDefault('lastEditedBy', $this->app->user->account)
->setDefault('lastEditedDate', $now)
+ ->setDefault('assignedDate', $now)
->remove('comment')
->join('mailto', ',')
->get();
@@ -853,7 +854,11 @@ class bugModel extends model
foreach($bugIDList as $i => $bugID)
{
$oldBug = $bugs[$bugID];
- if($oldBug->resolution == 'fixed' and $oldBug->resolvedBuild != $resolvedBuild) unset($bugIDList[$i]);
+ if($oldBug->resolution == 'fixed')
+ {
+ unset($bugIDList[$i]);
+ continue;
+ }
if($oldBug->status != 'active') continue;
$assignedTo = $oldBug->openedBy;
@@ -890,6 +895,8 @@ class bugModel extends model
/* Link bug to build and release. */
$this->linkBugToBuild($bugIDList, $resolvedBuild);
+
+ return $bugIDList;
}
/**
diff --git a/module/bug/view/create.html.php b/module/bug/view/create.html.php
index a91f34327c..a62a36e8e5 100644
--- a/module/bug/view/create.html.php
+++ b/module/bug/view/create.html.php
@@ -231,7 +231,7 @@ js::set('confirmDeleteTemplate', $lang->bug->confirmDeleteTemplate);
-
+
|
- build->noProduct, $this->createLink('project', 'manageproducts', "projectID=$projectID"));?> |
+ build->noProduct, $this->createLink('project', 'manageproducts', "module=build&method=create&projectID=$projectID"));?> |
diff --git a/module/common/view/kindeditor.html.php b/module/common/view/kindeditor.html.php
index da35135c1b..44a953d1cb 100755
--- a/module/common/view/kindeditor.html.php
+++ b/module/common/view/kindeditor.html.php
@@ -59,6 +59,7 @@ function initKindeditor(afterInit)
{
cssPath:[themeRoot + 'zui/css/min.css'],
width:'100%',
+ height:'200px',
items:editorTool,
filterMode: true,
bodyClass:'article-content',
diff --git a/module/productplan/control.php b/module/productplan/control.php
index 8bbc7f836b..2f92ea24cf 100644
--- a/module/productplan/control.php
+++ b/module/productplan/control.php
@@ -212,8 +212,8 @@ class productplan extends control
*/
public function view($planID = 0, $type = 'story', $orderBy = 'id_desc', $link = 'false', $param = '')
{
- if($type == 'story')$this->session->set('storyList', $this->app->getURI(true));
- if($type == 'bug') $this->session->set('bugList', $this->app->getURI(true));
+ $this->session->set('storyList', $this->app->getURI(true) . '&type=' . 'story');
+ $this->session->set('bugList', $this->app->getURI(true) . '&type=' . 'bug');
/* Append id for secend sort. */
$sort = $this->loadModel('common')->appendOrder($orderBy);
diff --git a/module/productplan/view/linkstory.html.php b/module/productplan/view/linkstory.html.php
index e87a9c98c7..52904e9f31 100644
--- a/module/productplan/view/linkstory.html.php
+++ b/module/productplan/view/linkstory.html.php
@@ -55,7 +55,7 @@ include '../../common/view/tablesorter.html.php';
- |
+ |
";
diff --git a/module/productplan/view/view.html.php b/module/productplan/view/view.html.php
index 67b6e0bad7..679be64c0b 100644
--- a/module/productplan/view/view.html.php
+++ b/module/productplan/view/view.html.php
@@ -132,7 +132,7 @@
$actionLink = inlink('batchUnlinkStory', "planID=$plan->id&orderBy=$orderBy");
?>
- productplan->unlinkStory, ($canBatchUnlink ? '' : 'disabled') . "onclick=\"setFormAction('$actionLink', '', this)\"");?>
+ productplan->unlinkStory, ($canBatchUnlink ? '' : 'disabled') . "onclick=\"setFormAction('$actionLink', 'hiddenwin', this)\"");?>
|
diff --git a/module/release/view/linkstory.html.php b/module/release/view/linkstory.html.php
index 5a3616a0e1..38b8c7414e 100644
--- a/module/release/view/linkstory.html.php
+++ b/module/release/view/linkstory.html.php
@@ -20,11 +20,11 @@
idAB;?> |
priAB;?> |
story->title;?> |
- openedByAB;?> |
- assignedToAB;?> |
- story->estimateAB;?> |
- statusAB;?> |
- story->stageAB;?> |
+ openedByAB;?> |
+ assignedToAB;?> |
+ story->estimateAB;?> |
+ statusAB;?> |
+ story->stageAB;?> |
@@ -42,7 +42,7 @@
assignedTo];?> |
estimate;?> |
story->statusList[$story->status];?> |
- story->stageList[$story->stage];?> |
+ story->stageList[$story->stage];?> |
diff --git a/module/release/view/view.html.php b/module/release/view/view.html.php
index d55c6f2123..95525390ad 100644
--- a/module/release/view/view.html.php
+++ b/module/release/view/view.html.php
@@ -69,6 +69,7 @@
>icons['bug'], 'green') . ' ' . $lang->release->bugs;?>
>icons['bug'], 'red') . ' ' . $lang->release->generatedBugs;?>
+ >icons['plan'], 'blue') . ' ' . $lang->release->view;?>
config->global->flow != 'onlyStory' and ($countBugs or $countLeftBugs))):?>
@@ -251,71 +252,73 @@
+
+ ' id='releaseInfo'>
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-