Log message #4125219

# At Username Text
# Mar 15th 2018, 09:11 saeideng these methods implemented in a class
# Mar 15th 2018, 09:10 saeideng why you need these methods?
# Mar 15th 2018, 09:10 saeideng hi
# Mar 15th 2018, 08:55 neon1024 If I let PHP Storm deal with it, it’ll add the @method docblocks and then put in a __call magic method to catch calls to them, which is utter filth
# Mar 15th 2018, 08:54 neon1024 Or can I just add and `@method` and be happy?
# Mar 15th 2018, 08:51 dakota The ORM guru (aka Lorenzo) knows all :)
# Mar 15th 2018, 08:50 dakota Morning
# Mar 15th 2018, 08:50 neon1024 Does anyone know the implementation details for these methods? https://github.com/cakephp/cakephp/blob/master/src/Datasource/QueryInterface.php#L21-L22
# Mar 15th 2018, 08:45 neon1024 Morning
# Mar 15th 2018, 07:34 roel Hello everyone, I want to learn how to test my code with php unittest. Does anyone have any pointers/best practices or tutorials I can read other than the CakePHP test documentation? Thanks in advance
# Mar 15th 2018, 07:05 nisseni Is there a way to see which controller is denying access. I have the correct settings in my acl file and if I clear the cake cache I get access. When I come back later I have no access again. Can't figure out the problem...
# Mar 15th 2018, 06:16 ksandeep_ any one here who can help me in this, I google for it but not found solution
# Mar 15th 2018, 06:01 ksandeep_ @savant: please find my code here
# Mar 15th 2018, 06:00 ksandeep_ https://gist.github.com/nakoda/489a3292c4ac17cda227b34a79f89321
# Mar 15th 2018, 05:55 savant Note: I might not answer (its 2am here and I'm about to go to sleep) but generally you should show the code in case someone can answer :)
# Mar 15th 2018, 05:54 ksandeep_ wait i will show you but I know its not fully correct
# Mar 15th 2018, 05:54 savant Can you show the code you are using?
# Mar 15th 2018, 05:53 ksandeep_ or can say i have two different tree in same table and want to move on branch from one tree to another
# Mar 15th 2018, 05:52 ksandeep_ do not know properly how to do it
# Mar 15th 2018, 05:51 ksandeep_ what i want is move my one category from one scope to another. same time all child need to be change with same scope
# Mar 15th 2018, 05:51 ksandeep_ It not updating lft and rght properly, might be i am doing something wrong
# Mar 15th 2018, 05:48 savant What do you mean, its not updating properly?
# Mar 15th 2018, 05:41 ksandeep_ In my case order is not updating properly and also not clear how to update scope id for all child record
# Mar 15th 2018, 05:40 ksandeep_ how to move records (parent and its child's) from one scope to another
# Mar 15th 2018, 05:39 ksandeep_ Hello friends, I need help in tree behavior with scope attribute
# Mar 15th 2018, 01:01 savant im also new here
# Mar 15th 2018, 00:03 rexb new here
# Mar 14th 2018, 18:49 alexmax Actually wait, the schema doesn't need the field.
# Mar 14th 2018, 18:48 generitter Anyone know how to limit actions (scaffold.actions) on associated objects for the “view” action?
# Mar 14th 2018, 18:44 alexmax Is there an easier way?
# Mar 14th 2018, 18:44 alexmax but instead I have to create a field in the schema, and make sure it's in my form, hidden, and contains a value.
# Mar 14th 2018, 18:43 alexmax I'd love to be able to just pop a validation in the validator that just fires without having to be tied to a specific field.
# Mar 14th 2018, 18:39 alexmax I'm having to create a custom field that contains some bunk value in order for my custom validation to fire.
# Mar 14th 2018, 18:23 xinobi How can i solve this problem in order to serve all within /users/:action ?
# Mar 14th 2018, 18:23 xinobi I'm using a modeless form validator, I don't know how to put this but I need to serve Users and Teams requests but both are Users so that leaves me with some architecture trouble at the controller/view domain
# Mar 14th 2018, 18:20 xinobi I've wrote this class https://pastebin.com/fJVuJnvW in order to allow multiple model Authentication and it works quite well
# Mar 14th 2018, 18:12 alexmax `<input type="hidden" name="pubs" value=""/><div class="checkbox"></div><div class="checkbox"></div><div class="checkbox"></div>`
# Mar 14th 2018, 18:12 alexmax ``` $this->Form->select('pubs', ['x' => 'X', 'y' => 'Y', 'z' => 'Z', ], [ 'multiple' => 'checkbox', ]); ```
# Mar 14th 2018, 18:10 alexmax I bet my old version of CakePHP 3.2.9 might be the cause of some of these problems.
# Mar 14th 2018, 18:09 alexmax Great, `multiple => checkbox` doesn't render any checkboxes to the page, only the containing divs.
# Mar 14th 2018, 18:00 meder i need to cache on a condition - can i just return false in a lambda fed to ->cache?