Log message #3942422

# At Username Text
# Oct 4th 2016, 16:10 inoas "If we are using B instead of A and userland code (custom PaginatorHelpers based on core PaginatonHelper) use 'scope' and 'model' and then call parent::, then the (here) updated Paginator will break, wouldn't it?"
# Oct 4th 2016, 16:10 inoas dereuromark it is below @ https://github.com/cakephp/cakephp/pull/9564#discussion_r81680802 I think we should do as it is in my PR
# Oct 4th 2016, 16:10 NickBusey what's the best practice for including assets from composer includes? I have files in vendor/fortawesome/font-awesome/fonts/ that I want in webroot/fonts/. Symlinking? Just moving them? Apache config?
# Oct 4th 2016, 16:06 dereuromark ionas: what is your suggestion?
# Oct 4th 2016, 16:05 Speud @djboz, because I have different role and dashboard ;)
# Oct 4th 2016, 16:01 inoas dereuromark take a look at this comment possibly https://github.com/cakephp/cakephp/pull/9564#discussion_r81736209
# Oct 4th 2016, 15:58 ndm https://github.com/cakephp/cakephp/blob/master/src/ORM/Query.php#L568
# Oct 4th 2016, 15:58 ndm Under the hood, `innerJoinWith` calls the same routine as `matching` does, but with an additional `'fields' => false` option, doing a select in the builder properly wins over the option.
# Oct 4th 2016, 15:56 birdy247 Cheers ionas
# Oct 4th 2016, 15:55 birdy247 :slightly_smiling_face:
# Oct 4th 2016, 15:54 inoas I'd suggest to use matching where you want to actually return data and innerJoinWith where you dont want to ;) or so
# Oct 4th 2016, 15:53 inoas birdy247 innerJoinWith + select() => _matchingData?
# Oct 4th 2016, 15:45 birdy247 you can make it mimic matching if you sue the select option
# Oct 4th 2016, 15:45 birdy247 ahhh neat
# Oct 4th 2016, 15:44 birdy247 I thought this would not happen with innerJoinWith
# Oct 4th 2016, 15:43 birdy247 but getting a _matchingData in my returned results
# Oct 4th 2016, 15:43 birdy247 I am using innerJoinWith
# Oct 4th 2016, 15:41 djboz false*
# Oct 4th 2016, 15:41 djboz So, why use prefix = aflse?
# Oct 4th 2016, 15:40 Speud from the official doc:: The scope and contain options have been deprecated as of 3.1. Use a custom finder instead to modify the query to fetch a user record
# Oct 4th 2016, 15:39 Speud I read in the doc in 3.3.5, contain in deprecated in Auth, you have to know use a custom finder if you want to use it (but still working with contain at this time)
# Oct 4th 2016, 15:38 Speud @djboz: here it is: http://pastebin.com/WeqjfNUt
# Oct 4th 2016, 15:37 Speud yes for sure, hold on
# Oct 4th 2016, 15:36 djboz @speud Can you shoot over that pastbin again?
# Oct 4th 2016, 15:27 acosonic Hi all, is there some best practice for designing and using API's based on Cakephp, and how is authentication done with API's...
# Oct 4th 2016, 15:16 Pika In another controller we are using status with real number (as is) 10 or 20 or x etc., but now customer wants group of statuses (10,20,30) (40) (50,60)
# Oct 4th 2016, 15:15 Pika how do you mean?
# Oct 4th 2016, 15:15 cosmin_cimpoi why not use another var name?
# Oct 4th 2016, 15:15 cosmin_cimpoi Pika: it s weird that you overwrite status_number in the condition. I d expect some trouble...
# Oct 4th 2016, 15:12 Pika If in DB we have 10,20,30 and 40 query return 2 statuses, but I need always only one
# Oct 4th 2016, 15:11 Pika @Speud
# Oct 4th 2016, 15:11 Pika http://pastebin.com/dXjpPZnt
# Oct 4th 2016, 15:07 Speud @Pika, can you show us your code ?
# Oct 4th 2016, 15:07 cosmin_cimpoi the idea is to get log streams to stdout and not file
# Oct 4th 2016, 15:06 cosmin_cimpoi hello. I have this dockerized cake app and I switched to 'engine' => 'ConsoleLog' in app.php. I get Could not load class ConsoleLog. I suspect this to be a composer issue but did anyone here have this problem?
# Oct 4th 2016, 15:05 Pika Ok, however thx
# Oct 4th 2016, 15:05 Neon1024 I have too much happening right now to be able to contribute, Iâ??m sorry.
# Oct 4th 2016, 15:04 Neon1024 Although Iâ??m sure youâ??re abstracting a complex case
# Oct 4th 2016, 15:04 Neon1024 Sounds like poor software design to me
# Oct 4th 2016, 15:03 Pika but if I have in array 10,20 and 40 then I get back 2 statuses but I need only one (from 100) because status 200 is only when I have all values = 40
# Oct 4th 2016, 15:02 Pika @neon1024 actually I need that without foreach, because I have more combinations... I am sending 3 options 100, 200 and 300 and 100 need to filter all values from 10,20,30, option with 200 must filter only values with 40 and value 300 can conatin values from 50,60