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
69bce401
Commit
69bce401
authored
Nov 21, 2016
by
Chivy Lim
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'KIME-4583' into 'master'
Hotfix and improvement See merge request
!19
parents
fead7d77
7690902b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
Classes/WE/SpreadsheetImport/SpreadsheetImportService.php
Classes/WE/SpreadsheetImport/SpreadsheetImportService.php
+8
-1
No files found.
Classes/WE/SpreadsheetImport/SpreadsheetImportService.php
View file @
69bce401
...
@@ -129,6 +129,13 @@ class SpreadsheetImportService {
...
@@ -129,6 +129,13 @@ class SpreadsheetImportService {
return
$this
;
return
$this
;
}
}
/**
* @return \WE\SpreadsheetImport\Domain\Model\SpreadsheetImport
*/
public
function
getSpreadsheetImport
()
{
return
$this
->
spreadsheetImport
;
}
/**
/**
* Returns the annotation properties of the related domain model with the property name as key.
* Returns the annotation properties of the related domain model with the property name as key.
*
*
...
@@ -247,7 +254,7 @@ class SpreadsheetImportService {
...
@@ -247,7 +254,7 @@ class SpreadsheetImportService {
continue
;
continue
;
}
}
$objectRepository
->
add
(
$newObject
);
$objectRepository
->
add
(
$newObject
);
$id
=
$this
->
persistenceManager
->
getIdentifierByObject
(
$
o
bject
);
$id
=
$this
->
persistenceManager
->
getIdentifierByObject
(
$
newO
bject
);
$processedObjectIds
[]
=
$id
;
$processedObjectIds
[]
=
$id
;
$this
->
log
(
vsprintf
(
'Object %s for record %d inserted.'
,
array
(
$id
,
$recordNumber
)),
LOG_INFO
);
$this
->
log
(
vsprintf
(
'Object %s for record %d inserted.'
,
array
(
$id
,
$recordNumber
)),
LOG_INFO
);
$totalInserted
++
;
$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