Skip to content

[DoctrineBridge] Bug in mapping driver config setter #14840

@saksmt

Description

@saksmt

Description

Because of usage of realpath in Symfony\Bridge\Doctrine\DependencyInjection\AbstractDoctrineExtension, entities from Phar-packages can't be loaded.

Steps to reproduce

  1. Pack whole the framework with entities in Phar-package or just pack only own code into Phar.
  2. Try to clear the cache or somehow use the entities-related features.
  3. Say "hello" to Doctrine\Common\Persistence\MappingException with message File mapping drivers must have a valid directory path, however the given path seems to be incorrect!

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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy