Log message #4179981

# At Username Text
# Mar 17th 2019, 01:39 slackebot2 <chrisshick>
# Mar 16th 2019, 20:58 ssalvatori I'm doing a configure::load right after the addPlugin in the Application.php but then in my app the configure::read is returning the same content from the boostrap not my configure::load content
# Mar 16th 2019, 20:57 ssalvatori what is the best or the right moment to change the configurations ? boostraped by the plugins ?
# Mar 16th 2019, 20:56 ssalvatori question about the plugins and who they load the boostrap conf
# Mar 16th 2019, 20:54 ssalvatori re
# Mar 16th 2019, 19:03 ssalvatori one with CamelCase and the other with -
# Mar 16th 2019, 19:02 ssalvatori I don't know why the difference between the to plugin
# Mar 16th 2019, 19:02 ssalvatori *** /login [ 'plugin' => 'cake-d-c/users', 'controller' => 'users', 'action' => 'login' ] [ '_ext' => [ (int) 0 => 'json' ], 'routeClass' => 'Cake\Routing\Route\DashedRoute' ] /logout [ 'plugin' => 'CakeDC/Users', 'controller' => 'Users', 'action' => 'logout' ]
# Mar 16th 2019, 19:02 ssalvatori but the debug show me this
# Mar 16th 2019, 19:01 ssalvatori $routes->connect('/login', ['plugin' => 'CakeDC/Users', 'controller' => 'Users', 'action' => 'login']); $routes->connect('/logout', ['plugin' => 'CakeDC/Users', 'controller' => 'Users', 'action' => 'logout']);
# Mar 16th 2019, 19:01 ssalvatori Hi, I have a question about the routes I have the following two routes in my file
# Mar 16th 2019, 14:44 martonmiklosqdev_cake so the PR is on the way
# Mar 16th 2019, 14:44 martonmiklosqdev_cake I have managed to make the travis passing again
# Mar 16th 2019, 14:43 martonmiklosqdev_cake thank you both
# Mar 16th 2019, 12:33 challgren @martonmiklosqdev_cake might want to change satooshi/php-coveralls to php-coveralls/php-coveralls too
# Mar 16th 2019, 12:26 martonmiklosqdev_cake @admad thanks you are awesome!
# Mar 16th 2019, 12:21 admad currently it's using the phpunit preinstall in travis VM instead of the specific version cake wants
# Mar 16th 2019, 12:20 admad @martonmiklosqdev_cake change from `phpunit --stderr` to `vendor/bin/phpunit` https://github.com/martonmiklos/cakephp-utils/blob/dc19703268f59da568acb1f5fbaf687757640c76/.travis.yml#L42
# Mar 16th 2019, 12:07 grossolive4 thanks so much !, It seems difficult to integrate with router plugin and app router
# Mar 16th 2019, 11:48 martonmiklosqdev_cake I am new to the phpunit testing so any help would be appericiated
# Mar 16th 2019, 11:48 martonmiklosqdev_cake I got a bunch of Cannot redeclare class PHPUnit\Framework\Test in ... warnings
# Mar 16th 2019, 11:47 martonmiklosqdev_cake https://travis-ci.com/martonmiklos/cakephp-utils/jobs/185399841
# Mar 16th 2019, 11:47 martonmiklosqdev_cake my tests failing on Travis
# Mar 16th 2019, 11:47 martonmiklosqdev_cake however
# Mar 16th 2019, 11:47 martonmiklosqdev_cake I have managed to fix the most of the warnings/errors so the phpunit tests passes on my dev box
# Mar 16th 2019, 11:46 martonmiklosqdev_cake https://github.com/martonmiklos/cakephp-utils/tree/fix_mfr_pr
# Mar 16th 2019, 11:46 martonmiklosqdev_cake to work with cake 3.7
# Mar 16th 2019, 11:46 martonmiklosqdev_cake I am trying to modernize the cakephp-utils plugins from cakemanager
# Mar 16th 2019, 11:45 martonmiklosqdev_cake Hi all!
# Mar 16th 2019, 09:40 birdy247 Is anyone using jenkins here?
# Mar 16th 2019, 00:32 challgren What version of cake?
# Mar 15th 2019, 19:10 chrisshick yet it still logs all queries
# Mar 15th 2019, 19:09 chrisshick I have query logs flag disabled
# Mar 15th 2019, 19:09 chrisshick Any clues how to turn off query logs?
# Mar 15th 2019, 16:31 lorro If only I had copy pasted that one rule ^^
# Mar 15th 2019, 16:30 lorro Holy shit, that fixed the whole damn thing. Thanks a lot, have really been looking for hours now ... :+1:
# Mar 15th 2019, 16:24 berarma `->where(['CashRegisters.id = SubLatestClosedReports.cash_register_id'])`
# Mar 15th 2019, 16:06 slackebot 'SubLatestClosedReports.cash_register_id', 'type' => null, 'placeholder' => 'c0' ] ], ` If I manually replace the c0 by an ID and run it in phpmyadmin i have the wanted results. Anybody got a clue what I'm missing here?
# Mar 15th 2019, 16:06 slackebot ->where(['SubLatestClosedReports.closed IS NOT' => null]) ->where(['CashRegisters.id' => 'SubLatestClosedReports.cash_register_id']) ->order(['SubLatestClosedReports.closed' => 'DESC']) ->limit(1); return $exp->add([ 'LatestClosedReports.uuid' => $subquery, ]); } ]); ``` As soon as I add the condition
# Mar 15th 2019, 16:06 slackebot `CashRegisters.id' => 'SubLatestClosedReports.cash_register_id` the subquery doesn't return a thing. It produces this query: ` 'sql' => 'SELECT `SubLatestClosedReports`.`uuid` FROM `cash_register_reports` `SubLatestClosedReports`, `cash_registers` `CashRegisters` WHERE ((`SubLatestClosedReports`.`closed`) IS NOT NULL AND `CashRegisters`.`id` = :c0) ORDER BY `SubLatestClosedReports`.`closed` DESC LIMIT 1', 'params' => [ ':c0' => [ 'value' =>
# Mar 15th 2019, 16:06 slackebot 'className' => 'CashRegisterReports', 'foreignKey' => false, 'conditions' => function (QueryExpression $exp, Query $query) { $subquery = $query ->connection() ->newQuery() ->select(['SubLatestClosedReports.uuid']) ->from(['SubLatestClosedReports' => 'cash_register_reports', 'CashRegisters' => 'cash_registers'])