-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX] Improve type safety for lazy-loaded associations (#1592)
`_loadRealInstance` will return `null` if the target of the association does not exist (anymore). We need to handle that case in a clean way. Also use a dedicated folder for the fixture to make the fixture easier to find, and to discourage reuse of fixtures.
- Loading branch information
1 parent
dfc4a1b
commit fb5066a
Showing
3 changed files
with
17 additions
and
2 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
3 changes: 3 additions & 0 deletions
3
Tests/Functional/Domain/Repository/Fixtures/propertyMapping/TeaWithDeletedImage.csv
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,3 @@ | ||
"tx_tea_domain_model_tea" | ||
,"uid","title","image", | ||
,1,"Gunpowder",1 |
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