This commit is contained in:
Julio Cesar Laura Avendaño
2019-11-04 15:59:50 -04:00
parent 7edc2674fe
commit ae3b847e3c
2 changed files with 15 additions and 0 deletions

View File

@@ -207,6 +207,9 @@ class pmTablesProxy extends HttpProxyController
public function save ($httpData, $alterTable = true)
{
try {
// Remove temporary Propel folder used by Report Tables and PM Tables (Bug PMC-388)
PmTable::removePmtPropelFolder();
$reportTable = new \ProcessMaker\BusinessModel\ReportTable();
return $reportTable->saveStructureOfTable((array)($httpData), $alterTable);
@@ -816,6 +819,9 @@ class pmTablesProxy extends HttpProxyController
fclose($f);
// Remove temporary Propel folder used by Report Tables and PM Tables (Bug PMC-388)
PmTable::removePmtPropelFolder();
//First Validate the file
$reportTable = new \ProcessMaker\BusinessModel\ReportTable();