-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add source while importing from Destination Data One
Destination Data One provides an source info explaining where the data originally came from. This is now added to event records and exposed in TYPO3 backend. That allows editors to check the source and contact corresponding sources in order to fix broken data. Relates: #10630
- Loading branch information
1 parent
3d0d5d8
commit 12510db
Showing
10 changed files
with
363 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
Tests/Functional/Import/DestinationDataTest/Assertions/ImportsSource.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
return [ | ||
'tx_events_domain_model_event' => [ | ||
[ | ||
'uid' => 1, | ||
'global_id' => 'e_100347853', | ||
'source_name' => 'destination.one', | ||
'source_url' => 'http://destination.one/', | ||
], | ||
[ | ||
'uid' => 2, | ||
'global_id' => 'e_100347854', | ||
'source_name' => 'Foreign Example 1', | ||
'source_url' => 'https://example.com', | ||
], | ||
[ | ||
'uid' => 3, | ||
'global_id' => 'e_100347855', | ||
'source_name' => 'Foreign Example 2', | ||
'source_url' => 'https://example.com/something-else', | ||
], | ||
], | ||
]; |
Oops, something went wrong.