Log message #4108930

# At Username Text
# Jan 15th 2018, 16:34 gsitex There is Map/Reduce feature for Resultsets. I have never used it before. Can I put my collection manipulations there?
# Jan 15th 2018, 16:31 gsitex And it's working!).. I'm just curious
# Jan 15th 2018, 16:30 neon1024 Collection is the way to go I’d say :slightly_smiling_face:
# Jan 15th 2018, 16:30 gsitex That's true
# Jan 15th 2018, 16:30 neon1024 Not really, because you have multiple requests spread across your contacts
# Jan 15th 2018, 16:29 gsitex I have `Clients` -(has_many)-> `Contacts` -(has_many)-> `Requests` So I get Clients with a such Query `get($id, ['contain' => 'Contacts.Requests'])` But to get the list of all Requests I need to build a collection. Like this: `$requests = (new Collection($client->contacts)->extract('requests')->unfold();` Can I do it easier?)
# Jan 15th 2018, 16:25 bernat thanks hmic! :)
# Jan 15th 2018, 16:25 hmic yes and yes
# Jan 15th 2018, 16:23 bernat Hi! Do you always create a new plugin inside a blank cakephp app and then create a repository just for the plugin directory or is there another more straightforward way? Is it mandatory to develop a plugin inside an app to be able to run tests?
# Jan 15th 2018, 16:23 hmic you need to make sure your network shell does not use the testshell though of course
# Jan 15th 2018, 16:23 neon1024 Oh, it doesn’t need the path
# Jan 15th 2018, 16:22 hmic however, cake does not seem to read the shell files you dont use. i did not expect anything else to happen actually ;-)
# Jan 15th 2018, 16:22 neon1024 Or `./cake -app ..`
# Jan 15th 2018, 16:22 xavier_ I was in app3/bin
# Jan 15th 2018, 16:21 hmic and why is you cake ./cake - it should be bin/cake, shouldnt it?
# Jan 15th 2018, 16:21 hmic i bet it has not changed
# Jan 15th 2018, 16:21 xavier_ upgrading!
# Jan 15th 2018, 16:21 hmic 3.5.10 here
# Jan 15th 2018, 16:21 gsitex hey!
# Jan 15th 2018, 16:21 xavier_ 3.5.8
# Jan 15th 2018, 16:20 hmic which cake version is that? :~
# Jan 15th 2018, 16:20 xavier_ Exception: syntax error, unexpected '}' in [/opt/saiwall6/app3/src/Shell/TestShell.php, line 367]
# Jan 15th 2018, 16:20 xavier_ # ./cake network
# Jan 15th 2018, 16:19 hmic not even the file gets included (even on bin/cake when listing available shells/commands!)
# Jan 15th 2018, 16:19 xavier_ ahm
# Jan 15th 2018, 16:19 hmic and i am able to execute all the others without problems
# Jan 15th 2018, 16:19 hmic i just made up a fatal error on one of my shells
# Jan 15th 2018, 16:19 hmic xavier_, this is not the case
# Jan 15th 2018, 16:16 xavier_ It is possible to tell to "cake" script to not parse all shell files when executing a specified shell? If I have a typo in a TestShell.php, all executions on other shells fires an error.
# Jan 15th 2018, 16:15 xavier_ hi!
# Jan 15th 2018, 15:38 kitcat711_ got stuck with my query on a simple joinTable https://gist.github.com/anonymous/39a3624315d1769b0351c416c48345ef
# Jan 15th 2018, 15:26 jotpe thanks @admad
# Jan 15th 2018, 15:22 admad viewBuilder()->setLayout('Plugin.bar')
# Jan 15th 2018, 15:21 admad Copy or use them from plugin itself
# Jan 15th 2018, 15:11 jotpe What's best practice for layouts in plugins? copy them to src/Template/Layout or symlink them? e.g. https://github.com/FriendsOfCake/bootstrap-ui#loading-the-bootstrap-framework
# Jan 15th 2018, 15:03 steinkel note for others having this issue, since cakephp/app:3.5.1 auto serialization is removed, so you need to specify `$this->set('_serialize', true);` in your controller action to keep that behavior in new applications or you'll get a `Template file XXX is missing`
# Jan 15th 2018, 13:58 admad @jayden please submit an update to that manual example
# Jan 15th 2018, 13:57 jayden Nvm i figured it out. The template needs to have {{hidden}} in front of it in the nestingLabel
# Jan 15th 2018, 13:47 jayden Hey guys I'm using the form helper and moving the checkboxes and radios outside of the label like this https://book.cakephp.org/3.0/en/views/helpers/form.html#moving-checkboxes-radios-outside-of-a-label but it throws a blackhole error if not all the checkboxes are selected once i use that template
# Jan 15th 2018, 11:29 edgaras.janusauskas http://www.vueslack.com/
# Jan 15th 2018, 11:28 neon1024 @maymeow vueslack.slack.com