Skip to content

ClassNotFoundException on convert #29

@ghost

Description

I installed version 2.0.4 and every time I call method convert I get following exception:

Attempted to load class "MetadataFactory" from namespace "Metadata".
Did you forget a "use" statement for another namespace?

In version 2.0.3 it worked.

While debugging I noticed that in your service.yml you refer to classes (FileCache, MetadataFactory), which do not exist in your code:

 snowcap_im.metadata.cache:
        class: Metadata\Cache\FileCache
        public: false
        arguments:
            - {}

    snowcap_im.metadata.mogrify_factory:
        class: Metadata\MetadataFactory
        public: false
        arguments: [@snowcap_im.metadata.mogrify_driver]
        calls:
            - [setCache, ["@snowcap_im.metadata.cache"]]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions