Skip to content
Snippets Groups Projects
Commit f5257890 authored by Sebastian Castro's avatar Sebastian Castro
Browse files

Fixs updating multiple sources count was not reseted

parent 29ca3f96
No related branches found
No related tags found
No related merge requests found
v2.3 v2.3
==== ====
* BUG: Updating multiple source at one time, count was not reseted
* FEATURE: Sort sub options by alphabetical order * FEATURE: Sort sub options by alphabetical order
* FEATURE: In the map categories menu, display next to each categorie how many elements are available for this category * FEATURE: In the map categories menu, display next to each categorie how many elements are available for this category
* FEATURE: Edit marker popup template * FEATURE: Edit marker popup template
......
...@@ -57,6 +57,15 @@ class ElementImportService ...@@ -57,6 +57,15 @@ class ElementImportService
public function startImport($import) public function startImport($import)
{ {
$this->optionIdsToAddToEachElement = [];
$this->countElementCreated = 0;
$this->countElementUpdated = 0;
$this->countElementNothingToDo = 0;
$this->countElementErrors = 0;
$this->elementIdsErrors = [];
$this->errorsMessages = [];
$this->errorsCount = [];
$import->setCurrState(ImportState::Downloading); $import->setCurrState(ImportState::Downloading);
$import->setCurrMessage("Téléchargement des données en cours... Veuillez patienter..."); $import->setCurrMessage("Téléchargement des données en cours... Veuillez patienter...");
$this->em->persist($import); $this->em->persist($import);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment