Open m2-assistant[bot] opened 2 months ago
Hi @engcom-November. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:
Area: XXXXX
label to the ticket, indicating the functional areas it may be related to.2.4-develop
branch@magento give me 2.4-develop instance
to deploy test instance on Magento infrastructure. 2.4-develop
branch, please, add the label Reproduced on 2.4.x
.Issue: Confirmed
once verification is complete. Hello @ergohack,
Thank you for the report and collaboration!
Going through the pr changes this issue can be confirmed.
:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/AC-12127 is successfully created for this GitHub issue.
:white_check_mark: Confirmed by @engcom-November. Thank you for verifying the issue.
Issue Available: @engcom-November, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.
This issue is automatically created based on existing pull request: magento/magento2#38794: avoid a misconfiguration infinite loop
Description (*)
The virtual type configurations, in
di.xml
files, are not supposed to be self‑referential, … but if they ever are this function will spin in an infinite loop.Changes
Added a test to avoid a self‑referential mapping, returning the self‑reference instead of endlessly spinning.
Fixed Issues (if relevant)
unknown
Manual testing scenarios (*)
Configure a
di.xml
<virtualType …>
node to be self‑referential (i.e. not actually virtual). This will cause the app to spin, infinitely, on the dereferencing attempt. Note that the self‑reference can be from a chain of<virtualType …>
nodes and not just a single node.Contribution checklist (*)