Re: Still having trouble with saving BelongsToMany data

2015-03-05 Thread Joe T.
Kevin, i can do that, but it doesn't make sense to me. i don't want my Listing to make any changes to the Attributes, so why is it attempting to do so? If i disable validation for updates, they won't be validated when the admin actually DOES edit an Attribute. Maybe a full end-to-end associatio

Re: Still having trouble with saving BelongsToMany data

2015-03-05 Thread heavyKevy
It seems to me that what you are missing now is altering your attributes validation to not require those fields with errors for update. In that the id is present, and you are getting validation errors it has to be trying to validate an update, alter your validation and you should be good to go.

Dispatch ACL events in Cake 2.6

2015-03-05 Thread Lincoln Brito
Hi folks, How can I attach or dispatch events only for ACOs/AROs? Thanks -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from t

Re: Schema migration in CakePHP-3

2015-03-05 Thread José Lorenzo
Can you put a die() in your migration file to see if it is being read? On Thursday, March 5, 2015 at 11:47:30 AM UTC+1, Gaurav Kumar wrote: > > Hello Everyone, > > I am trying to create a custom plugin for CakePHP-3.0 where I want to > include schema migrations [database sql queries] so that whe

Schema migration in CakePHP-3

2015-03-05 Thread Gaurav Kumar
Hello Everyone, I am trying to create a custom plugin for CakePHP-3.0 where I want to include schema migrations [database sql queries] so that when plugin gets installed eventually migrations for the same plugin will run and tables required by the plugin will get created in users database. I

Delete Function Issue in Model

2015-03-05 Thread Ronald Layanto
Hi all, This is my first time posting in this group, so I'm sorry if there's a similar topic before I just replace my Lib folder with CakePHP 2.6.2 and everything seems great However, I find an issue with delete function When I delete using a model, related records in different table are not del