Log message #4202996

# At Username Text
# Sep 13th 2019, 07:24 admad @val use `->distinct(true)` instead of specifying fields
# Sep 13th 2019, 07:16 challgren Could you remove the group by on the query? do your distinct() and then groupBy()
# Sep 13th 2019, 07:14 challgren Damm
# Sep 13th 2019, 07:13 valerij.bancer That doesn't work either - `PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'DISTINCT MyModel.name' in 'field list'`
# Sep 13th 2019, 07:11 challgren wouldnt it be ->select([‘DISTINCT name’])
# Sep 13th 2019, 07:10 valerij.bancer I don't wish that. In 2.x we have `'fields' => ['DISTINCT MyModel.name', ...]` but that does not work in 3.x
# Sep 13th 2019, 06:43 conehead You can execute SQL directly if you wish
# Sep 13th 2019, 06:39 valerij.bancer Hi, how to execute `SELECT DISTINCT ...` in 3.x without using `GROUP BY` that is generated by `distinct()` method?
# Sep 13th 2019, 06:07 conehead Anyone using `RequestPolicy` for `RequestAuthorization`? Got a strong feeling this is bugged :(
# Sep 13th 2019, 05:43 javier.villanueva thanks @challgren
# Sep 13th 2019, 05:43 javier.villanueva yes
# Sep 13th 2019, 05:41 challgren not 100% sure though
# Sep 13th 2019, 05:40 challgren @javier.villanueva I think findAll(Query $query)
# Sep 13th 2019, 05:36 javier.villanueva can I set a default finder for an entity? I know that I can set default finder for their associations...
# Sep 13th 2019, 05:30 javier.villanueva morning all
# Sep 13th 2019, 05:11 conehead Hm I am trying to switch to the Auth middleware. When loading the `Authorization` plugin I can define `skipAuthorization`. Am I only able to set this per action, but not per controller? In case I have some methods with the same name but some should be authorized and some should not
# Sep 13th 2019, 05:09 conehead Good morning guys!
# Sep 13th 2019, 01:43 D-rex I have google authenticator to false so I dont know why its checking
# Sep 13th 2019, 01:43 D-rex Installed cakedc Users plugin and now im getting error "Invalid config for 'GoogleAuthenticator.checker', '' does not implement 'CakeDC\Users\Auth\TwoFactorAuthenticationCheckerInterface'
# Sep 12th 2019, 23:41 sdevore sounds like the start of a new book based on good night moon…
# Sep 12th 2019, 23:41 challgren Night night plugin! :P
# Sep 12th 2019, 23:41 challgren Lol!
# Sep 12th 2019, 23:41 dereuromark The plugin says good night - and goes into 503.
# Sep 12th 2019, 23:26 challgren I think he might even be a plugin :P
# Sep 12th 2019, 23:26 challgren He has a plugin for everything
# Sep 12th 2019, 23:26 sdevore of course he does
# Sep 12th 2019, 23:26 challgren I think dereuromark has a upgrade tool for 3.6 to 3.7
# Sep 12th 2019, 23:25 sdevore yea I’ve been doing that in this clients stuff as well, it is work that gets no glory but is so rewarding for me
# Sep 12th 2019, 23:24 challgren Its actually @narendravaghela I just updated it a bunch, was tired of the deprecation warnings
# Sep 12th 2019, 23:24 sdevore your mailgun plugin’s requirement for 3.7 is what sent me into this rabbit hole in the first place ;)
# Sep 12th 2019, 23:23 challgren Hehe yep, I’m _everywhere_
# Sep 12th 2019, 23:23 sdevore Oh that is you ;) until this came up I was hoping to play with a PR this weekend. But needless to say my productivity has fallen in the tank
# Sep 12th 2019, 23:22 challgren And FYI I did get your issue on cakephp-mailgun, I’ll probably have time to work on it end of this month
# Sep 12th 2019, 23:21 sdevore yea, I’ve also turned on `xdebug.auto_trace=1` to see where it dies as well
# Sep 12th 2019, 23:19 challgren I’d litter the controller with die’s to figure out where its crapping out
# Sep 12th 2019, 23:18 sdevore @challgren ditto… very frustrating when your crutch (xDebug) is blowing up
# Sep 12th 2019, 23:12 challgren I have cakephp/chronos 1.2.8
# Sep 12th 2019, 23:11 sdevore yea, I am seeing some notes in the cakephp/chronos about the __debuginfo() crashing xDebug, so I have tried to force that update to the version that seems to of addressed that, but still getting them. So I guess it could be another class that is causing that issue, it is just strange to me that these two issues popped up in the switch from 3.6 to 3.7
# Sep 12th 2019, 23:06 challgren Not sure then honestly
# Sep 12th 2019, 22:57 challgren Ohh ok
# Sep 12th 2019, 22:57 sdevore looking in composer.lock I am running ` "version": "3.20.2"` (composer.php has “cakephp/debug_kit”: “~3.0",)