File mapping drivers must have a valid directory path

Permalink Browser Info Environment
On the Packages page.
Running 'View Entities' on ExchangeCore Dev Tools (v1.0.2) I get a whoops
/home/john/Documents/web/customers/my_customer_name/concrete/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/MappingException.php
     *
     * @return self
     */
    public static function fileMappingDriversRequireConfiguredDirectoryPath($path = null)
    {
        if ( ! empty($path)) {
            $path = '[' . $path . ']';
        }
        return new self(
            'File mapping drivers must have a valid directory path, ' .
            'however the given path ' . $path . ' seems to be incorrect!'
        );
    }
    /**


(same for other packages, just ran it on itself to check it wasn't another package causing this)

Type: Pre-Sale
Status: In Progress
JohntheFish
View Replies:
JohntheFish replied on at Permalink Reply
JohntheFish
Looks like this may be a core bug:
class Entities extends DashboardPageController
{
    public function view($packageHandle)
    {
        Cache::disableAll();
        /** @var \Concrete\Core\Package\Package $package */
        $package = Package::getClass($packageHandle);
        $em = $package->getEntityManager();
        $cmf = $em->getMetadataFactory();
        $driver = $em->getConfiguration()->newDefaultAnnotationDriver($package->getPackageEntityPaths());
        $classes = $driver->getAllClassNames(); /////// FAILS ON THIS LINE ////////
        $tests = array();
        foreach ($classes as $class) {
            try {
                $tests[$class]['metadata'] = $cmf->getMetadataFor($class);
madesimplemedia replied on at Permalink Reply
madesimplemedia
Did this get fixed, I just encoutered this uninstalling a custom package?
JohntheFish replied on at Permalink Reply
JohntheFish
I have not run into it since, but do not know if its actually fixed.

concrete5 Environment Information

c5 v8.1, localhost ec v1.0.2

Browser User-Agent String

Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.109 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.