Log message #4223782

# At Username Text
# Jan 24th 2020, 19:09 luizcmarin OK. Does anybody know how to solve this? https://cakesf.slack.com/archives/C053DPNGT/p1579880879178400
# Jan 24th 2020, 16:50 kiwi_10 a user can update the doc for me please ? I don't have a Github account
# Jan 24th 2020, 16:50 kiwi_10 The new function to use for mimetypes definitions is setTypeMap : https://api.cakephp.org/3.6/class-Cake.Http.Response.html#_setTypeMap
# Jan 24th 2020, 16:49 kiwi_10 use an array as param don't work
# Jan 24th 2020, 16:49 kiwi_10 and the good answer is the one of the API
# Jan 24th 2020, 16:49 kiwi_10 but, in the API, I need to use a string as param for this same function : https://api.cakephp.org/3.6/class-Cake.Http.Response.html#_withType
# Jan 24th 2020, 16:48 kiwi_10 the doc tell us to use an array for mimetypes definitions
# Jan 24th 2020, 16:48 kiwi_10 there is an error in the CakePHP doc : https://book.cakephp.org/3/fr/controllers/request-response.html#Cake\Http\Response::withType
# Jan 24th 2020, 15:47 luizcmarin @challgren @admad https://github.com/UseMuffin/Sti/issues/8 (starting tests)
# Jan 24th 2020, 14:22 rudy1976s @steinkel thank you Jorge ! I am facing problems using plugin with ADmad i18n , getting redirect loop when using routes with /:lang
# Jan 24th 2020, 12:56 steinkel https://www.cakedc.com/jorge_gonzalez/2020/01/17/users-plugin-9-x-for-cakephp4 this could help
# Jan 24th 2020, 12:55 rudy1976s I am working on implementing CakeDC Users plugin 9.x on a cake 4.0.2 installation. I have also installed admad i18n plugin : I am facing a lot of issues with infinite loops when trying to access login : I have tried to follow docs but it is very difficult because some time docs refers to last version while some other to 3.x: anyone here use UsersPlugin ?
# Jan 24th 2020, 12:51 rudy1976s good afternoon!
# Jan 24th 2020, 12:04 neon1024 Opened an issue :point_right: https://github.com/riesenia/cakephp-duplicatable/issues/44
# Jan 24th 2020, 11:48 neon1024 For conditionally empty associated fields
# Jan 24th 2020, 11:47 neon1024 Anyone know if duplicatable takes a callback in the ‘remove’ config option?
# Jan 24th 2020, 10:10 neon1024 I wonder if it’s easier to hook into the behaviours existing methods, as it must have to do this calculation
# Jan 24th 2020, 10:09 neon1024 :thinking_face: I was so sure there was already a method. Perhaps I’m thinking of the Tree Behaviour
# Jan 24th 2020, 10:07 challgren That gist may need some cleanup but it should work for yah. I honestly havent used it in a year or so
# Jan 24th 2020, 10:06 alexdd55976 Is there any way to catch the error log writing process and trigger something with that information
# Jan 24th 2020, 10:05 challgren https://gist.github.com/challgren/fbe500197d09f584a0fbc2aac710d3b6
# Jan 24th 2020, 10:04 neon1024 Duplicatable has a 4 branch, TIL
# Jan 24th 2020, 10:04 neon1024 @challgren Countercache, I’m running 3.8
# Jan 24th 2020, 10:04 alexdd55976 Morning
# Jan 24th 2020, 10:04 challgren no for counter cache
# Jan 24th 2020, 10:04 neon1024 I’m not aware that the duplicatable behaviour supports 4
# Jan 24th 2020, 10:03 neon1024 Which I presume is because its’ looking for a property called `script_composed_of`, but I’ve aliased it to `'propertyName' => 'parts',`
# Jan 24th 2020, 10:03 challgren neon 3 or 4?
# Jan 24th 2020, 10:03 neon1024 https://github.com/riesenia/cakephp-duplicatable/blob/master/src/Model/Behavior/DuplicatableBehavior.php#L269
# Jan 24th 2020, 10:03 neon1024 ```Warning (2): Invalid argument supplied for foreach() [ROOT/vendor/riesenia/cakephp-duplicatable/src/Model/Behavior/DuplicatableBehavior.php, line 269]```
# Jan 24th 2020, 10:02 neon1024 Anyone know if the Duplicatable behaviour works with custom property names?
# Jan 24th 2020, 09:51 neon1024 Or am I imagining that? I was sure there was a method to populate initial values, rather than them all being 0 until an update
# Jan 24th 2020, 09:50 neon1024 Wasn’t there a shell command for calculating counter cache?
# Jan 24th 2020, 08:28 challgren Evening all
# Jan 24th 2020, 08:20 gianmarxgagliardi morning all
# Jan 24th 2020, 06:24 matiur756 good morning everybody
# Jan 24th 2020, 06:24 javier.villanueva morning all
# Jan 23rd 2020, 22:09 ndm you're welcome
# Jan 23rd 2020, 21:57 k4t Thank you guys for your time! Really appreciate
# Jan 23rd 2020, 21:57 k4t I cant wait :P
# Jan 23rd 2020, 21:43 ndm Well, we'll see again when you need to paginate such a query, or when you want to apply certain behaviors on the associated table :grimacing: