Log message #4161812

# At Username Text
# Jul 25th 2018, 06:26 milanvanas Quick question, running the cake console through Composer always exits with `Script vendor/bin/cake -app app handling the cake event returned with error code 1`, even though the commands I run should be interactive. The moment Cake asks for user input, Composer exits. Running cake 2.10.11
# Jul 25th 2018, 06:24 milanvanas Hi folks, never knew there was a Slack Channel for Cake, awesome
# Jul 25th 2018, 06:21 admad unless you have app with hundreds of routes you can just turn it off which any significant performance impact
# Jul 25th 2018, 06:19 admad @chrisshick it doesn't :slightly_smiling_face: since it route caching uses serialization whatever you use in routes needs to be serializable
# Jul 25th 2018, 04:28 chrisshick it appears the routes cache doesn't like callables XD
# Jul 25th 2018, 04:27 chrisshick anyone familiar with the authentication plugin LDAP?
# Jul 25th 2018, 03:23 jslamka5685 Do I have to do anything to provide a component access to the /config/.env file variables?
# Jul 24th 2018, 22:15 a.francazi ok i just thought about it and I realized I can just make a scope only for the action I want to activate the middleware in
# Jul 24th 2018, 22:05 a.francazi can I apply a middleware only to a specific scope or can I also apply it to a specifig ROUTE? Lets say I want to activate csrf middleware only for my user delete action which is under the router $routes->connect('/delete/:id', ['controller' => 'Users', 'action' => 'delete'])
# Jul 24th 2018, 22:01 Slown everybody is asleep or what ?
# Jul 24th 2018, 22:01 Slown guys, anyone ?
# Jul 24th 2018, 21:59 Slown what can you said about that ?
# Jul 24th 2018, 21:59 Slown I'm hesitating between cake and symfony ?
# Jul 24th 2018, 21:59 Slown I need your help
# Jul 24th 2018, 21:59 Slown Hello guys
# Jul 24th 2018, 21:33 ricksaccous I'll have to take a look at this later
# Jul 24th 2018, 21:22 ricksaccous does append strategy not let you change join data?
# Jul 24th 2018, 21:22 ricksaccous when I finally get around to saving nothing happens
# Jul 24th 2018, 21:22 ricksaccous I am first grabbing the entity via a query, then I'm changing the _joinData, even debugged it and the property I changed is marked as dirty
# Jul 24th 2018, 21:21 ricksaccous I'm having trouble saving join data
# Jul 24th 2018, 20:52 dwms ?
# Jul 24th 2018, 20:52 dwms How to return included in object after edit in response
# Jul 24th 2018, 20:52 dwms Someone uses crud-json-api??
# Jul 24th 2018, 18:12 dereuromark you might not have disabled the config as documented
# Jul 24th 2018, 18:05 aro why am i getting deprecation warnings on using beforeRedirect when I am not using it?
# Jul 24th 2018, 15:29 neon1024 Seems that setting a `LEFT JOIN` in my associations achieves what I need as I’m lucky they are not many associations :slightly_smiling_face:
# Jul 24th 2018, 15:18 drollie i will investigate those
# Jul 24th 2018, 15:17 neon1024 Could be that you’re checking the data after it’s been emptied somewhere already
# Jul 24th 2018, 15:17 neon1024 Could be that that you’ve posted to a different url than you think
# Jul 24th 2018, 15:16 neon1024 Might be that you should be using $this->getRequest()->getData() if on Cake 3
# Jul 24th 2018, 15:16 neon1024 Might be that it’s empty
# Jul 24th 2018, 15:16 neon1024 drollie, Might be a PUT
# Jul 24th 2018, 15:16 neon1024 So will be returning json
# Jul 24th 2018, 15:16 drollie Any reason why $this->request->data() would be empty even though I have passed POST content?
# Jul 24th 2018, 15:16 neon1024 I don’t think I can really lazy load the optional association as the query is being executed via ajax call
# Jul 24th 2018, 15:15 neon1024 I have a belongsTo and hasMany, I’d like to get the parents, obviously, and optionally the child associations, if there is one
# Jul 24th 2018, 15:12 neon1024 Did anyone come up with a better way than an inverted notMatching yet to optionally get associations?
# Jul 24th 2018, 14:31 neon1024 @turkles Could be lots of things. 1) Bad request data array format 2) Bad form helper use, leading to incorrectly formatted request array 3) A bug in the association setup 4) Does the entity patch correctly? 5) Does the `$entity->getErrors()` show any validation or rule errors? 6) Are you looking in the right db table? 7) Are you making changes to the parent entity before saving? If it’s not dirty no changes will be persisted
# Jul 24th 2018, 14:30 lubos Ta
# Jul 24th 2018, 14:30 lubos Just checking the code and you are right, no events....
# Jul 24th 2018, 14:29 neon1024 Or more accurately, the `dispatch()` function isn’t called in the class