Coder Social home page Coder Social logo

Issues with model caching about migrations HOT 4 CLOSED

cakedc avatar cakedc commented on July 17, 2024
Issues with model caching

from migrations.

Comments (4)

burzum avatar burzum commented on July 17, 2024

If you look at the plugins code, CakeMigration::_clearCache() and also run(), you'll see that this issue should not happen anymore because the cache is cleared everytime a migration is run.

from migrations.

k0nG avatar k0nG commented on July 17, 2024

Just an FYI. If you don't have a tmp folder in your app directory for any reason the shell will cache files in: /lib/Cake/Console/Templates/skel/tmp/cache in your core directory.

You can just symlkink /tmp to where ever you're storing your tmp files.

from migrations.

burzum avatar burzum commented on July 17, 2024

Your app should have a tmp folder if not there will be more issues... Looks like the core itself is falling back to the folder you named but you definitly do not want that. Because if you bae a new app I think it might copy the tmp files from there also if you have another app doing the same you end up with overwritten tmp data form the other app.

from migrations.

dogmatic69 avatar dogmatic69 commented on July 17, 2024

An app with a missing tmp folder is a user error. That is something that is required unless you are using APC on all configs or something similar that does not use the file system at all.

from migrations.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.