Log message #4161819

# At Username Text
# Jul 25th 2018, 06:34 milanvanas Shouldnt be need to, the binary provided to Composer is fine, it works and sees all my app's commands, calling the binary directory works fine as well, I would just like to run my commands through Composer
# Jul 25th 2018, 06:32 milanvanas It runs fine, except it always exits with 1
# Jul 25th 2018, 06:32 admad have you tried running `./Console/cake` from the `app` folder itself?
# Jul 25th 2018, 06:31 admad hmm or maybe the composer package for cake 2 does.. dont remember
# Jul 25th 2018, 06:31 milanvanas Yeah it does actually, installed through Composer, Composer will symlink vendor/bin/cake to vendor/cakephp/cakephp/lib/Cake/Console/cake
# Jul 25th 2018, 06:30 admad cake 2 doesn't have `vendor/bin/cake` there you need to need to run shell from `./Console/cake`
# Jul 25th 2018, 06:30 chrisshick interesting..
# 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?