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

Module configuration cache file is not removed on development mode change #5

Open
weierophinney opened this issue Dec 31, 2019 · 0 comments
Labels
Bug Something isn't working

Comments

@weierophinney
Copy link
Member

When enabling/disabling development mode, the module cache file is not removed. On investigation, it seems this is because the application configuration returned by getApplicationConfig() in ConfigDiscoveryTrait is an empty array, which in turn is because the application configuration file is not being read in correctly.

Other functionality (addition/removal of development.*.dist files) is fine.


Originally posted by @vvaswani at zfcampus/zf-development-mode#22

@samsonasik samsonasik added the Bug Something isn't working label Jul 16, 2020
XCame pushed a commit to XCame/laminas-development-mode that referenced this issue Aug 2, 2023
When searching for the config dir location, isset always returned true for projectDir since it was an empty string by
the constructor defaults, resulting in a file exists on /config/application.config instead of config/application.config

Signed-off-by: Fabian Kreuzkam <fk@herold-schoensteiner.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants