Code Monkey home page Code Monkey logo

Comments (4)

pdugas avatar pdugas commented on May 26, 2024

https://github.com/Atlantic18/DoctrineExtensions/blob/v2.4.x/lib/Gedmo/Tree/Strategy/ORM/Nested.php#L525

That's the query in the Doctrine Tree extension that's returning zero matches when it should return 1. I wonder if there's something like a double text/binary conversion happening or something odd like that.

from uuid-doctrine.

pdugas avatar pdugas commented on May 26, 2024

Possibly related to doctrine-extensions/DoctrineExtensions#1978

from uuid-doctrine.

pdugas avatar pdugas commented on May 26, 2024

Enabled the query log in MariaDB to get the exact queries.

		    41 Query	INSERT INTO foo (lft, rgt, name, id) VALUES (0, 0, 'EG', '�`�Raִ	B��k�')
		    41 Query	UPDATE foo SET root_id = '1d5261d6-608e-11ea-b409-0242be8c6bde', lft = 1, rgt = 2 WHERE id = '1d5261d6-608e-11ea-b409-0242be8c6bde'

So, there's the rub. It's not converting the UUIDs to binary values.

from uuid-doctrine.

pdugas avatar pdugas commented on May 26, 2024

The issue here can be resolved with a fix in the DoctrineExtensions package. Closing this.

from uuid-doctrine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.