Leska Import / workflow script
This commit is contained in:
@@ -22,24 +22,12 @@ class Workflowitem extends mfBaseModel {
|
||||
|
||||
public function getProperty($name) {
|
||||
if($this->$name == null) {
|
||||
|
||||
|
||||
if($name == "value") {
|
||||
if(!$this->object_id) {
|
||||
$this->log->warn(__CLASS__."::getProperty('value'): Object ID not set");
|
||||
$this->log->debug("[Backtrace] ================");
|
||||
$this->log->debug("[Backtrace] START Backtrace");
|
||||
$bt = debug_backtrace();
|
||||
foreach($bt as $n => $b) {
|
||||
$this->log->debug($n.") ".$b["file"]."(".$b['line']."): ".$b['class']."->".$b['function']."()" );
|
||||
}
|
||||
$this->log->debug("[Backtrace] $sql");
|
||||
$this->log->debug("[Backtrace] END Backtrace");
|
||||
return null;
|
||||
}
|
||||
$value = mfValuecache::singleton()->get("wfItemvalue-item-".$this->id."-object-".$this->object_id);
|
||||
if($this->id == 55 && $this->object_id == 509) {
|
||||
var_dump($value);exit;
|
||||
}
|
||||
if($value) {
|
||||
$this->value = $value;
|
||||
return $value;
|
||||
|
||||
Reference in New Issue
Block a user