* [bug#68194] Fix the bug of create bug in project.

This commit is contained in:
xieqiyu
2025-12-23 09:14:46 +00:00
parent 80bfb8de72
commit 4d987c3fd6
+2 -2
View File
@@ -640,7 +640,7 @@ class bugZen extends bug
->setIF($formData->data->assignedTo != '', 'assignedDate', helper::now())
->setIF($formData->data->story !== false, 'storyVersion', $this->loadModel('story')->getVersion((int)$formData->data->story))
->setIF($this->post->project, 'project', $this->post->project)
->setIF($this->post->project, 'execution', $this->post->execution)
->setIF($this->post->execution, 'execution', $this->post->execution)
->get();
if($this->post->fromCase && $this->post->fromCase != $formData->data->case)
@@ -1966,7 +1966,7 @@ class bugZen extends bug
$this->loadModel('kanban');
if(!empty($laneID) and !empty($columnID)) $this->kanban->addKanbanCell($executionID, $laneID, $columnID, 'bug', (string)$bugID);
if(empty($laneID) or empty($columnID)) $this->kanban->updateLane($executionID, 'bug');
if(empty($laneID) or empty($columnID)) $this->kanban->updateLane((int)$executionID, 'bug');
}
/* Callback the callable method to process the related data for object that is transfered to bug. */