Skip to content

use doctrine 2.6 #1588

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

Merged
merged 1 commit into from
Dec 21, 2017
Merged

use doctrine 2.6 #1588

merged 1 commit into from
Dec 21, 2017

Conversation

soyuka
Copy link
Member

@soyuka soyuka commented Dec 21, 2017

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #1578
License MIT
Doc PR

@soyuka soyuka merged commit 0218f78 into api-platform:2.1 Dec 21, 2017
@soyuka soyuka deleted the fix-doctrine branch December 22, 2017 06:55

for ($i = 1; $i <= $nb; ++$i) {
$friend = new DummyFriend();
$friend->setName('Friend-'.$i);

$this->manager->persist($friend);
// since doctrine 2.6 we need existing identifiers on relations
// See https://github.com/doctrine/doctrine2/pull/6701
Copy link
Member

Choose a reason for hiding this comment

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

Oh nice, you made my day! It's the solution to my problem on another project!

Copy link
Member Author

Choose a reason for hiding this comment

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

:) happy xmas

hoangnd25 pushed a commit to hoangnd25/core that referenced this pull request Feb 23, 2018
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