Giter Club home page Giter Club logo

Comments (5)

starkj avatar starkj commented on August 15, 2024

quick workaround:

change ObjectManager at line 792 in this way:

    if (isset($this->objectsByPath['Node'])) {
        foreach ($this->objectsByPath['Node'] as $path => $item) {
            if (! $keepChanges || ! ($item->isDeleted() || $item->isNew())) {
                // if we keep changes, do not restore a deleted item
                $item->refresh($keepChanges, true);
            }
        }
    }

at least, you are able to load the fixtures then

just had a quick look at the newest jackalope version, i'm not realy shure, but i think problem is solved there, so maybe you just wait until the sandbox is updated

from cmf-sandbox.

uwej711 avatar uwej711 commented on August 15, 2024

I think this has nothing to do with ObjectManager. The fixtures call clear explicitly in LoadStaticPageData->load(), I think this should be refresh instead or is it needed at all?

from cmf-sandbox.

dbu avatar dbu commented on August 15, 2024

Sorry, the problem is we updated the components but not the sandbox. I can look into this Wednesday. When you use the versions in deps.lock you should get the old version and not see the Problem. Vendors install and not vendors update

from cmf-sandbox.

dbu avatar dbu commented on August 15, 2024

i did not say which wednesday, right? (note to self: do not promise deadlines you can not keep!)

the import now runs again. unfortunately, meanwhile the next refactoring is breaking stuff for the visible page, this time its in our MenuBundle using KnpMenuBundle. See symfony-cmf/symfony-cmf#105 for that bug.

from cmf-sandbox.

dbu avatar dbu commented on August 15, 2024

cmf bug 105 is fixed and i updated the sandbox to use the latest version. now we get a page again.

i noticed that the new menu stuff could use some layouting, if anybody feels like doing that ;-)

from cmf-sandbox.

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.