Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Remove the development cache file on all actions #13

Merged

Conversation

weierophinney
Copy link
Member

Switching from development mode and back should always remove the application configuration cache file to ensure that changes are propagated properly.

Discovered when configuration cache files were accidently included in an Apigility skeleton app, where the last action performed was to enable development mode!

- Switching from development mode and back should always remove the application
  configuration cache file to ensure that changes are propagated properly.

  Discovered when configuration cache files were accidently included in an
  Apigility skeleton app, where the last action performed was to enable
  development mode!
@weierophinney weierophinney added this to the 2.1.1 milestone Aug 4, 2015
@weierophinney
Copy link
Member Author

Pinging @akrabat and/or @ezimuel to review!

@akrabat
Copy link

akrabat commented Aug 5, 2015

Reviewed. Looks good to me.
I would have merged, but don't have write access to this repo.

@weierophinney
Copy link
Member Author

I would have merged, but don't have write access to this repo.

Now you do. :)

@akrabat akrabat merged commit 54c0754 into zfcampus:master Aug 5, 2015
akrabat added a commit that referenced this pull request Aug 5, 2015
…ways

Remove the development cache file on all actions
akrabat added a commit that referenced this pull request Aug 5, 2015
akrabat added a commit that referenced this pull request Aug 5, 2015
akrabat added a commit that referenced this pull request Aug 5, 2015
@nuxwin
Copy link

nuxwin commented Dec 19, 2015

@weierophinney

About the review, it has been done too fast. config_cache_key and cache_dir keys are both part of the module_listener_options configuration container. Here, you try to get them from the first config level.

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

Successfully merging this pull request may close these issues.

3 participants