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:
Victor Saisa Lopez
2012-08-10 12:07:45 -04:00
parent 39413c7a4e
commit 95f7ca9c29

View File

@@ -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){
}