schmittjoh / JMSSerializerBundle

Easily serialize, and deserialize data of any complexity (supports XML, JSON, YAML)
http://jmsyst.com/bundles/JMSSerializerBundle
MIT License
1.8k stars 312 forks source link

Misnamed traceable metadata service in data collector #902

Closed ajdinmore closed 2 years ago

ajdinmore commented 2 years ago
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no

Steps required to reproduce the problem

  1. Install bundle
  2. Run application with debug enabled

Expected Result

Actual Result

ajdinmore commented 2 years ago

Just to note: this breaks the currently active 4.1.0 release in environments with debug enabled.

cizordj commented 2 years ago

I'm having this problem right now. I can't clear the cache while in dev mode

Here is relevant part of my composer.lock:

        ...
        {
            "name": "jms/serializer-bundle",
            "version": "4.1.0",
            "source": {
                "type": "git",
                "url": "https://github.com/schmittjoh/JMSSerializerBundle.git",
                "reference": "408ad721f9b7b5c1fb9bfff93f54868e946a12fd"
            },
        ...

Symfony 5.4.12

ajdinmore commented 2 years ago

@cizordj In the short-term, you can solve the issue by locking your version to 4.0.*

cizordj commented 2 years ago

@ajdinmore Thanks, that's what I ended up doing.

adamoki commented 2 years ago

I've also encounter the same problem, as mention above I've locked upgrade till issue is solve - probably it just needs renaming the metadataDriver property type.