BUG 9526 "Processes cannot be deleted when the memcache is..." SOLVED
- When memcache is enabled not refresh correctly the list of process (to importing a process, to update the name of an process) - Added method to delete key of the memcache to the import a process or update name of a process
This commit is contained in:
@@ -411,6 +411,9 @@ class Process extends BaseProcess {
|
||||
$oPro->setProDescription( $aData['PRO_DESCRIPTION'] );
|
||||
$res = $oPro->save();
|
||||
$con->commit();
|
||||
|
||||
$this->memcachedDelete();
|
||||
|
||||
return $res;
|
||||
}
|
||||
else {
|
||||
@@ -490,6 +493,9 @@ class Process extends BaseProcess {
|
||||
$this->setProDescription ( 'Default Process Description' );
|
||||
|
||||
$con->commit();
|
||||
|
||||
$this->memcachedDelete();
|
||||
|
||||
return $this->getProUid();
|
||||
}
|
||||
else {
|
||||
@@ -788,4 +794,3 @@ function ordProcessByProTitle($a, $b){
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user