Log message #4187280

# At Username Text
# May 23rd, 08:46 graziel its ok for me, have you tried clearing cache? ;)
# May 23rd, 08:40 neon1024 Very slow for me and throwing page unavailable occasionally
# May 23rd, 08:40 hmic What's up with GH?
# May 23rd, 08:28 neon1024 Oh no! RIP Github
# May 23rd, 07:27 neon1024 Morning all :wave:
# May 22nd, 18:59 prev.aurelien Thanks for any help!
# May 22nd, 18:59 prev.aurelien Hi! I'm working with a plugin for a cms made with cake php and I'm getting a problem. When I make a post request with a form, all is going right. But, when I make a post request with a raw json body, when I echo this value it returns it but when I try to get the content, it redirects me to the home page. Here is my code : https://paste.hynity.com/view/38ea46b1 The function is the authenticate() one.
# May 22nd, 18:08 xavier83ar thanks!
# May 22nd, 17:46 admad @xavier83ar 1. take a look at cakedc/users for example of how to manage config. 2. Take a look at bake to see how to handle plugin dependency. Bake depends on twigview plugin
# May 22nd, 16:44 slackebot plugin A if plugin B is loaded and thrown and exception if not, but the question is: Is there a way to load plugin B from plugin A? is this a good thing? or is better just throwing a exception and let the developer take care of it?
# May 22nd, 16:44 xavier83ar Hi guys, I'm making some cakephp plugins (for cakephp 3.6+) and I'm facing to issues (or decisions): 1.- configs: What's the recommended way to do plugin configurations?, in order to provide some nice defaults but allowing the app to configure most of the plugin's behaviors 2.- dependencies: Some plugins depends on others. I can handle the install (require) part with composer, but then them have to be loaded. I found a way to check in
# May 22nd, 16:22 manthan.budheliya Guys, anybody have idea?
# May 22nd, 16:22 neothermic Might throw 7.4's current state against the tests and see what breaks vs 7.3
# May 22nd, 16:21 niel45 and January, and maybe Feb too :-)
# May 22nd, 16:20 slackebot Action: neothermic adds this to her todo list for December
# May 22nd, 16:18 dereuromark if you get the tests to pass, nothing blocks the PR
# May 22nd, 16:18 neothermic I'm sure you're itching to strike down cake2 from support :)
# May 22nd, 16:18 neothermic Well, it's one thing to make the PR, the other half would be if it gets accepted :P
# May 22nd, 16:17 dereuromark come on, you should know better than to ask this :slightly_smiling_face:
# May 22nd, 16:17 dereuromark if you make the PR
# May 22nd, 16:17 neothermic If 7.4 drops before 4.x does, will 7.4 be added to the supported PHP versions of cake2? :P
# May 22nd, 16:16 neothermic @neon1024 ahh, smart idea
# May 22nd, 16:13 manthan.budheliya @beakman I have implemented same way, but still my toDatabase function is not called.
# May 22nd, 16:03 manthan.budheliya Hey @admad are you around?
# May 22nd, 14:46 neon1024 https://github.com/cakephp/cakephp/blob/2.x/.travis.yml
# May 22nd, 14:46 neon1024 Have a look in Travis
# May 22nd, 14:45 neothermic Question about PHP7 and cakephp2, what's the highest supported PHP version for cake2? :slightly_smiling_face:
# May 22nd, 13:58 neon1024 Yeah, I think you’re right. As I figure if you pass the wrong data you’d want to know
# May 22nd, 13:46 junker37 I'd say throw an exception. I'm of the opinion it's better to blow-up early and often, otherwise it seems to hide issues
# May 22nd, 13:45 neon1024 Speaking of custom data types, I can’t decide if a value fails to cast to my chosen value if I should return null or throw an exception
# May 22nd, 13:43 junker37 perfect, thx!
# May 22nd, 13:43 neon1024 https://book.cakephp.org/3.0/en/orm/saving-data.html#saving-complex-types
# May 22nd, 13:42 neon1024 Yeah, you configure it in the schema
# May 22nd, 13:42 junker37 thanks @neon1024 Do you specify the field type in the Table class?
# May 22nd, 13:39 neon1024 https://book.cakephp.org/3.0/en/orm/database-basics.html#data-types
# May 22nd, 13:39 neon1024 @junker37 Use the built-in Json data type
# May 22nd, 13:39 junker37 In my database table, I have a text field which is a json string. In the entity I json_decode the field so that it's an object and not a string. However, I'm running into an issue when trying to save the entity to the database. It is also pulling the json_decoded value and not the string. Is there a way to differentiate between representation and storage of the data?
# May 22nd, 12:50 k4t thx
# May 22nd, 12:48 admad @val I dont remember @k4t none that i know of apart from logging them yourself
# May 22nd, 12:46 k4t @admad is there an easy way to log also catched exceptions?
# May 22nd, 12:45 val @admad so Log::info behaves differently in cake 3.x than in cake 2.x?