Comments (2)
This sounds like a missing $_accessible
in the Entity to me. You can find out more about entity mass assignment attack protection in the book
https://book.cakephp.org/4/en/orm/entities.html#mass-assignment
from crud.
@davidyell thank you for the tip, now that you've pointed that out, I indeed remember I didn't have the description
column when I was baking the models, I added the column only later, but never updated the corresponding Entity code. I will get back here after I add it to $_accessible
and confirm, but I'm already pretty sure you got it right.
from crud.
Related Issues (20)
- Catching "Integrity constraint violation" error HOT 2
- Hiding Properties defined in $_hidden in the model Entity does not work [2] HOT 3
- Call to a member function set() on null HOT 2
- Adding WHERE condition to the index action HOT 2
- Setting the sort order HOT 1
- Cakephp 4.4 breaks ApiListener HOT 3
- Document useModel() Method.
- Errors when visiting `/error` url HOT 4
- Question: why does Crud component throw an exception when there's a response? HOT 2
- Anyone for hire?
- Move beforePaginate() of RelatedModelsListener in a separate listener.
- CrudComponent::table() should support non-table model types HOT 9
- Call to `isActionMapped` during `Controller.initialize` event crashes controller bake HOT 1
- PHP v8 Deprecation Warnings HOT 1
- Setting add and edit associations deeper than one level with relatedModels HOT 1
- New release HOT 3
- Crud ExceptionHandler HOT 2
- One catch-all controller for all tables instead of a separate controller for every table? HOT 3
- How does FriendsOfCake/crud know which model to use? HOT 1
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 crud.