You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ composer show --latest 'doctrine/*'
Direct dependencies required in composer.json:
doctrine/doctrine-bundle 2.13.1 2.13.1 Symfony DoctrineBundle
doctrine/doctrine-fixtures-bundle 3.6.2 3.6.2 Symfony DoctrineFixturesBundle
doctrine/doctrine-migrations-bundle 3.3.1 3.3.1 Symfony DoctrineMigrationsBundle
doctrine/orm 2.20.0 3.3.0 Object-Relational-Mapper for PHP
Transitive dependencies not required in composer.json:
doctrine/annotations 2.0.2 2.0.2 Docblock Annotations Parser
doctrine/cache 2.2.0 2.2.0 PHP Doctrine Cache library is a popular cache implementation that supports many different drivers such as redis, memcache, apc, mongodb and others.
doctrine/collections 2.2.2 2.2.2 PHP Doctrine Collections library that adds additional functionality on top of PHP arrays.
doctrine/common 3.4.5 3.4.5 PHP Doctrine Common project is a library that provides additional functionality that other Doctrine projects depend on such as better reflection support, proxies and much more.
doctrine/data-fixtures 1.8.0 2.0.0 Data Fixtures for all Doctrine Object Managers
doctrine/dbal 3.9.3 4.2.1 Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.
doctrine/deprecations 1.1.3 1.1.3 A small layer on top of trigger_error(E_USER_DEPRECATED) or PSR-3 logging with options to disable all deprecations or selectively for packages.
doctrine/event-manager 2.0.1 2.0.1 The Doctrine Event Manager is a simple PHP event system that was built to be used with the various Doctrine projects.
doctrine/inflector 2.0.10 2.0.10 PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.
doctrine/instantiator 2.0.0 2.0.0 A small, lightweight utility to instantiate objects in PHP without invoking their constructors
doctrine/lexer 2.1.1 3.0.1 PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.
doctrine/migrations 3.8.2 3.8.2 PHP Doctrine Migrations project offer additional functionality on top of the database abstraction layer (DBAL) for versioning your database schema and easily deploying changes to it. It is a very easy to use and a powerful tool.
doctrine/persistence 3.4.0 4.0.0 The Doctrine Persistence project is a set of shared interfaces and functionality that the different Doctrine object mappers share.
doctrine/sql-formatter 1.5.1 1.5.1 a PHP SQL highlighting library
PHP version
$ php -v
PHP 8.3.13 (cli) (built: Nov 12 2024 05:57:19) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.3.13, Copyright (c) Zend Technologies
with Zend OPcache v8.3.13, Copyright (c), by Zend Technologies
with Xdebug v3.3.2, Copyright (c) 2002-2024, by Derick Rethans
But it appears that changes on a OneToOne Uni-Directional mapped entity does not seem to trigger an update.
I've forked DoctrineExtension and added a test case that should demonstrate what I experienced.
Environment
Package
show
Doctrine packages
show
PHP version
Subject
I try to setup a scenario like its described in docs for One of Many Fields Changed.
But it appears that changes on a OneToOne Uni-Directional mapped entity does not seem to trigger an update.
I've forked DoctrineExtension and added a test case that should demonstrate what I experienced.
You can see the changes to the main branch here.
Minimal repository with the bug
https://github.com/senaria/DoctrineExtensions/tree/feature/broken-example-track-one-of-many-fields-changed
Steps to reproduce
Follow the README for testing and execute \Gedmo\Tests\Timestampable\TimestampableTest::testChangingCategoryTitleIsTracked
Expected results
It should not fail.
Actual results
It fails.
The text was updated successfully, but these errors were encountered: