Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
WE.SpreadsheetImport
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Labels
Merge Requests
0
Merge Requests
0
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
packages
WE.SpreadsheetImport
Commits
7690902b
Commit
7690902b
authored
Nov 18, 2016
by
Simon Gadient
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[BUGFIX] Delete on import
Important fix as wrong id was stored for deletion.
parent
d9eeedb9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Classes/WE/SpreadsheetImport/SpreadsheetImportService.php
Classes/WE/SpreadsheetImport/SpreadsheetImportService.php
+1
-1
No files found.
Classes/WE/SpreadsheetImport/SpreadsheetImportService.php
View file @
7690902b
...
...
@@ -254,7 +254,7 @@ class SpreadsheetImportService {
continue
;
}
$objectRepository
->
add
(
$newObject
);
$id
=
$this
->
persistenceManager
->
getIdentifierByObject
(
$
o
bject
);
$id
=
$this
->
persistenceManager
->
getIdentifierByObject
(
$
newO
bject
);
$processedObjectIds
[]
=
$id
;
$this
->
log
(
vsprintf
(
'Object %s for record %d inserted.'
,
array
(
$id
,
$recordNumber
)),
LOG_INFO
);
$totalInserted
++
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment