Log message #4170172

# At Username Text
# Oct 4th 2018, 13:15 neon1024 https://github.com/cakephp/debug_kit/blob/master/src/Panel/MailPanel.php#L43
# Oct 4th 2018, 13:15 neon1024 I have followed the code back to a dead end
# Oct 4th 2018, 13:10 narendravaghela Nope, I didn't face it actually
# Oct 4th 2018, 13:07 neon1024 Hey @narendravaghela Did you ever have an issue with your SendGrid plugin and DebugKit? I’ve done the setup, but I’m seeing `Notice (8): Undefined index: className [ROOT/vendor/cakephp/debug_kit/src/Panel/MailPanel.php, line 55]` just going to look into it. If I turn up anything I’ll open an issue, or a PR :slightly_smiling_face:
# Oct 4th 2018, 13:06 neon1024 @birdy247 Always moar codez
# Oct 4th 2018, 13:05 vinicius.big I've just seen your fix! Many thanks!!
# Oct 4th 2018, 13:04 steinkel @vinicius.big we just fixed the warning in the cakedc/auth plugin, please do composer update
# Oct 4th 2018, 13:03 birdy247 but maybe the rule just needs more logic!
# Oct 4th 2018, 13:03 birdy247 execpt in a special edit case
# Oct 4th 2018, 13:03 admad having optional application rule is highly suspicious
# Oct 4th 2018, 13:03 birdy247 we want it to run in all scenarios
# Oct 4th 2018, 13:03 birdy247 well, its more when the rule runs
# Oct 4th 2018, 13:03 neon1024 If it’s optional I wonder if you need a rule?
# Oct 4th 2018, 13:02 birdy247 application rule
# Oct 4th 2018, 13:02 neon1024 So that you can set your own context
# Oct 4th 2018, 13:02 neon1024 @birdy247 Validation rule? Perhaps you need a callback in your validation rule for the ‘when’
# Oct 4th 2018, 12:58 ricksaccous you'd have to put in your own logic
# Oct 4th 2018, 12:58 ricksaccous not by default though
# Oct 4th 2018, 12:57 ricksaccous lol
# Oct 4th 2018, 12:57 ricksaccous if you feed an option that disables it
# Oct 4th 2018, 12:53 birdy247 Can an indivudal rule be disabled in a controller?
# Oct 4th 2018, 12:48 btx thanks, I’ll give that try first.
# Oct 4th 2018, 12:47 btx challenge accepted
# Oct 4th 2018, 12:47 btx :slightly_smiling_face:
# Oct 4th 2018, 12:47 admad you can use all the system memory available
# Oct 4th 2018, 12:47 btx oo
# Oct 4th 2018, 12:47 admad "but I’d hit the same memory issue at the cli level" i doubt it, php in cli doesn't have memory limits like webserver
# Oct 4th 2018, 12:46 admad doesn't need anything extra, diactoros already provides a stream reponse class but you need to understand how to generate a streaming response in php in general
# Oct 4th 2018, 12:46 btx I was also thinking of generating the XML on a CRON but I’d hit the same memory issue at the cli level
# Oct 4th 2018, 12:45 btx @admad is that something that needs special libs? or is it as “simple” as using javascript to keep calling paginated data until the resultset is empty?
# Oct 4th 2018, 12:43 drkhshOy But won't that show the base widget a lot of times? I mean widgetShowAll is recursive
# Oct 4th 2018, 12:43 drkhshOy use imgur
# Oct 4th 2018, 12:43 admad streaming is what you are looking for
# Oct 4th 2018, 12:43 drkhshOy koala_man presented a more compelling use case
# Oct 4th 2018, 12:43 drkhshOy its like a very gay song
# Oct 4th 2018, 12:43 drkhshOy rf?
# Oct 4th 2018, 12:43 btx that’s because I’m not sure what approach is best (or even an option)
# Oct 4th 2018, 12:43 admad cake's View will always buffer, if you want to stream than you need to create a streaming response yourself
# Oct 4th 2018, 12:42 admad first get your terms right: buffering and streaming are kinda opposite :slightly_smiling_face:
# Oct 4th 2018, 12:42 btx does anyone know if it’s possible to buffer/stream/etc large datasets to a Cake view? I have an XML view that needs to display a large dataset (10k-30k records) and i’m hitting memory errors (as is to be expected)
# Oct 4th 2018, 12:41 vinicius.big they are all in the last version