# |
Oct 4th 2018, 13:21 |
narendravaghela |
Good to hear you solved it :slightly_smiling_face: |
# |
Oct 4th 2018, 13:19 |
neon1024 |
Sorted it out, I had a typo! Not been a successful day for meso far :( |
# |
Oct 4th 2018, 13:16 |
neon1024 |
It does. Geez I’m going blind! |
# |
Oct 4th 2018, 13:16 |
neon1024 |
It seems to be assigned to later on, but not actually part of the class |
# |
Oct 4th 2018, 13:15 |
neon1024 |
The Email class doesn’t have this property |
# |
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? |