Open
Description
This issue is automatically created based on existing pull request: #39423: Added null check in DataFixtureSetup for the scope
Description (*)
The scope defined in a data fixture could be an arbitrary string. If there is no corresponding value in the storage manager null is returned.
In this case null is passed to the scope switcher which leads to a TypeError
, because it requires an object of type ScopeInterface
.
The TypeError
is now prevented by throwing a RuntimeException
with a more specific message.
Contribution checklist (*)
- Pull request has a meaningful description of its purpose
- All commits are accompanied by meaningful commit messages
- All new or changed code is covered with unit/integration tests (if applicable)
- README.md files for modified modules are updated and included in the pull request if any README.md predefined sections require an update
- All automated tests passed successfully (all builds are green)
Metadata
Metadata
Assignees
Labels
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmedA defect with this priority could have functionality issues which are not to expectations.The issue has been reproduced on latest 2.4-develop branchIssue related to Developer Experience and needs help with Triage to Confirm or Reject it