8000 Error in sulu_resolve_media function after upgrading sulu and doctrine packages · Issue #7138 · sulu/sulu · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content 8000
Error in sulu_resolve_media function after upgrading sulu and doctrine packages #7138
Closed
@floscom

Description

@floscom
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

  1. Upgrade sulu from 2.4.13 to 2.4.14.
  2. Upgrade doctrine/orm from 2.15.4 to 2.16.1.
  3. Upgrade doctrine/doctrine-bundle from 2.10.1 to 2.10.2.
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugError or unexpected behavior of already existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0