BUG 8116 "Designer no todos los procesos muestran no category" SOLVED
- that was happening for imported process. on the workspace where it has been imported the process category didn't exists - It is fixed now, the process category is being imported with the process,.. so, when the process is being imported if the process category doesn't exist, it is created.
This commit is contained in:
@@ -19,7 +19,9 @@ require_once 'classes/model/om/BaseProcessCategory.php';
|
||||
* @package workflow.engine.classes.model
|
||||
*/
|
||||
class ProcessCategory extends BaseProcessCategory {
|
||||
function getAll($type='criteria'){
|
||||
|
||||
function getAll($type='criteria')
|
||||
{
|
||||
$c = new Criteria('workflow');
|
||||
$c->addSelectColumn(ProcessCategoryPeer::CATEGORY_UID);
|
||||
$c->addSelectColumn(ProcessCategoryPeer::CATEGORY_NAME);
|
||||
@@ -32,7 +34,8 @@ class ProcessCategory extends BaseProcessCategory {
|
||||
$result[] = $dataset->getRow();
|
||||
}
|
||||
return $result;
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
return $c;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user