Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GoGoCarto
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pixel Humain
GoGoCarto
Commits
f5257890
Commit
f5257890
authored
6 years ago
by
Sebastian Castro
Browse files
Options
Downloads
Patches
Plain Diff
Fixs updating multiple sources count was not reseted
parent
29ca3f96
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+1
-0
1 addition, 0 deletions
CHANGELOG.md
src/Biopen/GeoDirectoryBundle/Services/ElementImportService.php
+9
-0
9 additions, 0 deletions
...open/GeoDirectoryBundle/Services/ElementImportService.php
with
10 additions
and
0 deletions
CHANGELOG.md
+
1
−
0
View file @
f5257890
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
...
...
This diff is collapsed.
Click to expand it.
src/Biopen/GeoDirectoryBundle/Services/ElementImportService.php
+
9
−
0
View file @
f5257890
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment