@@ -443,7 +443,6 @@ class ImportController extends BaseAdminController
|
|||||||
$event = new UpdatePositionEvent($id, $this->getMode($mode), $value);
|
$event = new UpdatePositionEvent($id, $this->getMode($mode), $value);
|
||||||
$this->dispatch(TheliaEvents::IMPORT_CHANGE_POSITION, $event);
|
$this->dispatch(TheliaEvents::IMPORT_CHANGE_POSITION, $event);
|
||||||
|
|
||||||
|
|
||||||
return $this->render('import');
|
return $this->render('import');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ use Symfony\Component\DependencyInjection\SimpleXMLElement;
|
|||||||
use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
|
use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
|
||||||
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
|
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
|
||||||
use Symfony\Component\DependencyInjection\Loader\FileLoader;
|
use Symfony\Component\DependencyInjection\Loader\FileLoader;
|
||||||
|
use Thelia\Log\Tlog;
|
||||||
use Thelia\Model\Export;
|
use Thelia\Model\Export;
|
||||||
use Thelia\Model\ExportCategory;
|
use Thelia\Model\ExportCategory;
|
||||||
use Thelia\Model\ExportCategoryQuery;
|
use Thelia\Model\ExportCategoryQuery;
|
||||||
@@ -369,7 +370,7 @@ class XmlFileLoader extends FileLoader
|
|||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
$con->rollBack();
|
$con->rollBack();
|
||||||
|
|
||||||
throw $e;
|
Tlog::getInstance()->error($e->getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -450,7 +451,7 @@ class XmlFileLoader extends FileLoader
|
|||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
$con->rollBack();
|
$con->rollBack();
|
||||||
|
|
||||||
throw $e;
|
Tlog::getInstance()->error($e->getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -497,7 +498,7 @@ class XmlFileLoader extends FileLoader
|
|||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
$con->rollBack();
|
$con->rollBack();
|
||||||
|
|
||||||
throw $e;
|
Tlog::getInstance()->error($e->getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -577,7 +578,7 @@ class XmlFileLoader extends FileLoader
|
|||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
$con->rollBack();
|
$con->rollBack();
|
||||||
|
|
||||||
throw $e;
|
Tlog::getInstance()->error($e->getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -169,7 +169,7 @@ class CustomerUpdateForm extends BaseForm
|
|||||||
'label_attr' => array(
|
'label_attr' => array(
|
||||||
'for' => 'reseller'
|
'for' => 'reseller'
|
||||||
)
|
)
|
||||||
))
|
))
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -92,7 +92,6 @@ class Export extends BaseExport
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public function addCriteriaToPositionQuery($query)
|
public function addCriteriaToPositionQuery($query)
|
||||||
{
|
{
|
||||||
$query->filterByExportCategoryId($this->getExportCategoryId());
|
$query->filterByExportCategoryId($this->getExportCategoryId());
|
||||||
|
|||||||
Reference in New Issue
Block a user