Log message #4184673

# At Username Text
# Apr 26th 2019, 04:21 hollistergraham123 https://stackoverflow.com/questions/50229244/cakephp-3-exception-handling-serialization-in-a-restful-api
# Apr 26th 2019, 02:29 voycey Are you using environment variables for your config? (.env etc?) - this greatly simplfies everything as you can just provide a different .env to populate the config files
# Apr 26th 2019, 00:08 hollistergraham123 Is there a function on the entity interface to get the first error as a string?
# Apr 25th 2019, 22:40 sdevore So not sure if anyone is usingFriendsOfCake/CakePDF with wktohtmlpdf but I got a significant speed up in pdf generation by removing border-radius from elements to be rendered (from 30+ seconds to < .5 second) (based on some reading in here https://github.com/wkhtmltopdf/wkhtmltopdf/issues/1510 )
# Apr 25th 2019, 22:29 rudy1976s Hello !! what is the correct way to disable <<csfr for certain action , using CSFR middleware ?
# Apr 25th 2019, 20:10 ricksaccous good luck
# Apr 25th 2019, 20:10 ricksaccous just sounds like relations or request data is set up wrong
# Apr 25th 2019, 20:09 waspinator how would you save associated data when the model has two `belongsTo` relations? i.e. `A` contains `B` contains `C` which `belongsTo` both `A` and `B`. adding `['associated' => ['B.C']` complains that the `A_id` is empty when trying to save `C`
# Apr 25th 2019, 19:07 devito leme give it a shot
# Apr 25th 2019, 19:03 ricksaccous and you should be good i think
# Apr 25th 2019, 19:03 ricksaccous you just apply the pagination after the filters
# Apr 25th 2019, 19:03 ricksaccous then no it shouldn't
# Apr 25th 2019, 19:03 devito im using sortwhitelist, and if i do not use filters the table is sortable but when i do use filters the sort gets disabled
# Apr 25th 2019, 19:02 devito 3
# Apr 25th 2019, 19:01 ricksaccous @devito are you talking cakephp2 or 3?
# Apr 25th 2019, 18:59 devito sorry, in the pagination component if a filter is specified does it disable column sorting i with the paginator helper’
# Apr 25th 2019, 18:58 devito a, can the table still be sortable? or does the filter disable sorting?
# Apr 25th 2019, 18:30 waspinator yes, I think that's the point
# Apr 25th 2019, 18:26 hollistergraham123 Can you modify the entity in beforeSave function?
# Apr 25th 2019, 17:15 this.impetus So you guys get a sense of accomplishment for what you do—w/r to my earlier dilemmas, thanks to your counsel I tracked down the issue in the plug-in, solved it, and subsequently have had the original author fix it in the repo. So a problem was permanently fixed on your watch, ty boys
# Apr 25th 2019, 15:59 neon1024 Faster you can fail the quicker you’ll learn!
# Apr 25th 2019, 15:59 this.impetus Ok. Thanks guys. I'm breaking for lunch, will get in to these suggestions. Failing is such an education haha
# Apr 25th 2019, 15:57 ricksaccous just something i always check, if my app skeleton is updated, when commands/console things go wrong
# Apr 25th 2019, 15:57 ricksaccous hehe
# Apr 25th 2019, 15:57 ricksaccous yeah
# Apr 25th 2019, 15:57 ricksaccous anyway it's more likely a plugin failure because the class isn't found
# Apr 25th 2019, 15:57 neon1024 I don’t think the bin files are relevant here
# Apr 25th 2019, 15:56 neon1024 Oh, there isn’t one
# Apr 25th 2019, 15:56 ricksaccous or even his bin/ files
# Apr 25th 2019, 15:56 neon1024 Perhaps your app Console class is out of date?
# Apr 25th 2019, 15:56 neon1024 Yeas, good point :point_up:
# Apr 25th 2019, 15:55 ricksaccous @this.impetus https://github.com/cakephp/app
# Apr 25th 2019, 15:55 neon1024 If this `MeTools` is in it’s own namespace, it should exist in both your `composer.json` and in your `vendors` folder
# Apr 25th 2019, 15:54 this.impetus @ricksaccous I dunno what that means brother, sorry
# Apr 25th 2019, 15:54 this.impetus @neon1024 Yeah I tried precisely that (fixing the namespace) on my own, no dice; will contact the author and let him sort it out
# Apr 25th 2019, 15:54 neon1024 ..and if it’s missing, would explain why it’s `null`
# Apr 25th 2019, 15:53 neon1024 Which would be a good bet for where the error is
# Apr 25th 2019, 15:53 neon1024 Or they’ve extended the class
# Apr 25th 2019, 15:53 neon1024 Usually that is caused by PHP looking for a class in the current namespace, because the code has incorrectly used the namespace. They probably meant `\Cake\Console\Command`
# Apr 25th 2019, 15:53 ricksaccous @this.impetus is your application skeleton up to date?
# Apr 25th 2019, 15:52 this.impetus (this is post-nuke, which was worth trying because I have very little vendor content not initially supplied by cake anyway)