Description
Q | A |
---|---|
Sulu Version | 2.4.14 |
PHP Version | 8.0.7 |
DB Version | 5.7.33 |
Browser Version | Google Chrome 115.0.5790.170 |
Actual Behavior
Sulu version: 2.4.14 (upgraded from 2.4.13)
Doctrine ORM version: 2.16.1 (upgraded from 2.15.4)
Doctrine Bundle version: 2.10.2 (upgraded from 2.10.1)
After upgrading the sulu, doctrine/orm, and doctrine/doctrine-bundle packages, the sulu_resolve_media function is producing an error. The exception thrown during the rendering of a template is:
An exception has been thrown during the rendering of a template ("The given entity of type 'Sulu Bundle Tag-Bundle\Entity Tag' (| has no identity/no id values set. It cannot be added to the identity map.").
Expected Behavior
The function should execute without errors.
Steps to Reproduce
- Upgrade sulu from 2.4.13 to 2.4.14.
- Upgrade doctrine/orm from 2.15.4 to 2.16.1.
- Upgrade doctrine/doctrine-bundle from 2.10.1 to 2.10.2.
- Execute the code involving the sulu_resolve_media function.
Possible Solutions
This might be related to changes in the upgraded packages, and an investigation into the interdependencies might reveal the root cause. The solution is not known at this moment, further investigation is needed.
We downgraded to the versions:
Sulu version: 2.4.13
Doctrine ORM version:2.15.4
Doctrine Bundle version: 2.10.1