Coder Social home page Coder Social logo

Comments (6)

RemiCollin avatar RemiCollin commented on June 18, 2024

I recently corrected a bug where this could happens when several find() method were fired on the same entity. Can you please switch to system-refactoring branch and tell me if you still got this bug ?

from analogue.

RemiCollin avatar RemiCollin commented on June 18, 2024

Refactoring is finished and I merged into 5.1 branch. Can you tell me if it fixes this ?

from analogue.

Evertt avatar Evertt commented on June 18, 2024

I will, in a few hours probably, first I have some other stuff to finish. :-)

from analogue.

Evertt avatar Evertt commented on June 18, 2024

Now this does work better, but still not fully as it should and that has to do with EntityCollection.

You see when I add stuff to EntityCollection it gets an arbitrary array key in the array $this->items, for example I'd have:

screen shot 2015-10-04 at 13 05 22

Or

screen shot 2015-10-04 at 13 02 29

However when I try to remove stuff from the EntityCollection with $this->attributes['permissions']->remove($permission) it expects the array key of the item to correspond the model key (i.e. the id column). So removing stuff from the EntityCollection still doesn't work as expected.

from analogue.

RemiCollin avatar RemiCollin commented on June 18, 2024

Ok i'll have a look.

from analogue.

smallhadroncollider avatar smallhadroncollider commented on June 18, 2024

I'm also coming across the same issue.

I have a Cues model which has many Instrumentations. When I update the Cue and remove an Instrumentation they do not get removed from the database.

from analogue.

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.