Comments (6)
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.
Refactoring is finished and I merged into 5.1 branch. Can you tell me if it fixes this ?
from analogue.
I will, in a few hours probably, first I have some other stuff to finish. :-)
from analogue.
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:
Or
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.
Ok i'll have a look.
from analogue.
I'm also coming across the same issue.
I have a Cues
model which has many Instrumentation
s. When I update the Cue
and remove an Instrumentation
they do not get removed from the database.
from analogue.
Related Issues (20)
- What is the best way to 'detach' a relation? (in my case, belongsToMany) HOT 2
- What's the best way to count a relation without loading the Entities? HOT 7
- Translations base on analogue Orm HOT 3
- Unable to save foreign keys in 5.5 HOT 3
- Undefined variable: factory HOT 1
- The update $dirtyRelatedAggregates override foreighn keys to null HOT 7
- Documentation Request HOT 3
- The problem with storing entity with embedding object HOT 3
- CollectionProxy does not implement some Collection methods correctly HOT 2
- 5.5 entities with generated proxies are unable to serialize due to a closure HOT 2
- (Feature Request) Composite Keys HOT 1
- Problem hydrating relations HOT 3
- Is it possible to have properties of entity in camelCase, but fields in DB are in snake_case? HOT 3
- SoftDeletes not working HOT 2
- Automatically eager load not working HOT 1
- Incomplete BelongsToMany eager loads HOT 5
- Eloquent 5.7 HOT 3
- Analogue Slim Framework/Silex HOT 3
- Can we map columns to class properties? HOT 4
- Can't install Analogue on Laravel 6 HOT 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from analogue.