Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.0 Defect: bin/cake orm_cache clear fatal errors if app.php 'cacheMetadata' => false is set #5061

Closed
ionas opened this issue Nov 3, 2014 · 3 comments
Assignees
Milestone

Comments

@ionas
Copy link
Contributor

ionas commented Nov 3, 2014

While struggling with cake bake not respecting my database changes running bin/cake orm_cache clear I get a fatal errors if 'cacheMetadata' => false is set in app.php.

Used latest https://github.com/cakephp/app/ default composer installation.

@lorenzo lorenzo added this to the 3.0.0 milestone Nov 3, 2014
@lorenzo lorenzo added the defect label Nov 3, 2014
@ionas
Copy link
Contributor Author

ionas commented Nov 3, 2014

Welcome to CakePHP v3.0.0-beta2 Console
---------------------------------------------------------------
App : src
Path: /var/www/Foo/src/
---------------------------------------------------------------
PHP Fatal error:  Call to undefined method Cake\Database\Schema\Collection::cacheMetadata() in /var/www/Foo/vendor/cakephp/cakephp/src/Shell/OrmCacheShell.php on line 74

Fatal error: Call to undefined method Cake\Database\Schema\Collection::cacheMetadata() in /var/www/Foo/vendor/cakephp/cakephp/src/Shell/OrmCacheShell.php on line 74

@markstory
Copy link
Member

I will take a look.

@markstory markstory self-assigned this Nov 3, 2014
markstory added a commit that referenced this issue Nov 4, 2014
Fix error from when metadata cache was refactored. Add missing tests.

Refs #5061
@markstory
Copy link
Member

Closing as there is a pull request open now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants