Mark Scherer

Results 898 comments of Mark Scherer

I would prefer getRequiredOrFail() getOrFail() would conflict and collide with plugin extensions easily, so a bit of a annoying bc break for me anyway in my apps.

Dup of https://github.com/woocommerce/wc-api-php/pull/354 ?

It could just be a class, but then that class would need to be for sure injected into the CSS being rendered out, either in a separate file or in-page...

https://github.com/cakephp/app/blob/9a7f511ed5f10dac993051cb1ecad79ab7cc93e5/templates/layout/default.php#L33 If we dynamically inject that template stuff into this block, it should work. We just shouldn't inject it multiple times if the hidden block is used more than once.

So that hidden fields and _csrfField() etc are not visible or modifying the styling of the content. If you don't use any of them, you should not be generating any...

Can you give a code example?

What is the post data? You should not have the ID in there, then it should work fine.

Well then you need to let us know the exact query and what code causes this Default save isn't doing this. My guess: you have some invalid validation or domain...

> Is the question whether passing null for id to create a new entity is valid? This cannot happen on normal forms, since those are either string and filtered out...