Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a test case to show #9376 and #9377 have been resolved #10733

Closed
wants to merge 1 commit into from

Conversation

mpdude
Copy link
Contributor

@mpdude mpdude commented May 31, 2023

This is part of the series of issues fixed by #10547. In particular, the changes from #10566 were relevant.

See #9376 for the bug description.

The suggested fix in #9377 is obsoleted by #10547.

@mpdude mpdude changed the title Add a test case to show #9376 has been fixed Add a test case to show #9376 and #9377 have been fixed May 31, 2023
@mpdude mpdude changed the title Add a test case to show #9376 and #9377 have been fixed Add a test case to show #9376 and #9377 have been resolved May 31, 2023
This is part of the series of issues fixed by doctrine#10547. In particular, the changes from doctrine#10566 were relevant.

See doctrine#9376 for the bug description; doctrine#9377 is obsoleted by doctrine#10547.
* @ORM\ManyToOne(targetEntity=GH9376Gift::class)
* @ORM\JoinColumn(nullable=false)
*
* @var GH9376Gift
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The variant points to the gift and nothing else

/**
* @Entity
*/
class GH9376Product
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The product points to nothing

/**
* @Entity
*/
class GH9376Gift
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The gif points to a product and nothing else.

So the graph is like Variant -> Gift -> Product

🤔 where is the circular reference?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👀

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mpdude
Copy link
Contributor Author

mpdude commented May 31, 2023

I am closing this for the time being, since the test provided in #9377 does not fail on 2.16 and the bug description in #9376 is insufficient to reproduce the problem.

@mpdude mpdude closed this May 31, 2023
@mpdude mpdude deleted the 9376-fixed branch May 31, 2023 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants