We have a cake 5.1.x application working since 6 monhts.
All of a sudden we have found a lot of duplicate records while saving an associated table
eg:
Request (id, user_id, origin, destination)
--> User (id, name)
Every time we save request, All of a sudden user.id is not saved anymore (so we duplicate the user everytime) and we have discovered that we have to put it in the entity
protected array $_accessible = [
'*' => true,
];
When did this change? Was it in some updates of the ORM? Normally linked fields where saved even without “allowing” them in the accessible field. Is there a configuration somewhere that we missed?
Thanks
Massimo