Skip to content

Conversation

kissifrot
Copy link

Call to Table::addForeignKeyConstraint now expects only a string for the table argument, so ensure we send table name instead of Table object.

@kissifrot kissifrot force-pushed the fix-dbal-4 branch 7 times, most recently from 2afa233 to b872aaf Compare October 24, 2024 19:12
@kissifrot kissifrot force-pushed the fix-dbal-4 branch 3 times, most recently from c6c44e2 to 60d3470 Compare November 23, 2024 10:25
@kissifrot
Copy link
Author

I had to alter the way transactions in deleteAcl() worked, as enabling nested ones are marked as deprecated in DBAL 4.x and make the tests fail 🙁

@kissifrot kissifrot requested a review from derrabus November 23, 2024 10:42
@ronaldvdlp
Copy link

Any progress on this? Or any support needed?

@ronaldvdlp
Copy link

Can this PR be checked and merged? Would be nice to be able to upgrade to DBAL 4.x!

public function deleteAcl(ObjectIdentityInterface $oid)
{
$this->connection->beginTransaction();
// DBAL 4.0 does not support nested transactions, so we need to keep track of the transaction state
Copy link
Member

Choose a reason for hiding this comment

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

DBAL 4.0 does not support nested transactions

Yes, it does?

@igordeveloper
Copy link

igordeveloper commented Aug 22, 2025

Hi @nicolas-grekas .

Do you have any news about this issue, can estimate a date for release with support sf7 + doctrine dbal 4+?

Thank you.

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.

5 participants