Log message #4213866

# At Username Text
# Nov 18th 2019, 17:18 admad @jotpe just use $this->get() in the view
# Nov 18th 2019, 17:09 dereuromark is that latest 3.x? sounds like the proper delegation is then not yet fixed in 3.x series.
# Nov 18th 2019, 17:04 slackebot <jotpe>
# Nov 18th 2019, 17:04 jotpe Any ideas why in my custom view I can't access my view Variables via `viewBuilder()->getVar()`?
# Nov 18th 2019, 16:09 johnpaul5421 css, is there anyway to redirect this form submitted data to the control, using the Action parameter, so that when I submit the request to the control, then create a function add, $this->RequestHandler->isAjax(). Also is it possible to do this in the view form, without using echo $form->create and echo $form->submit('Save'); echo $form->end(); I just created a big form using the regular html way.
# Nov 18th 2019, 15:56 johnpaul5421 Hello everyone,
# Nov 18th 2019, 15:28 peppejaripappalardo Hello to everyone, i need a little help for muffin/trash for soft-delete. I have to remove a behavior on UsersTable from a custom class. Is correct to do it with this code? `TableRegistry::get('Users')->removeBehavior('Trash');` ` TableRegistry::get('Users')->addBehavior('Muffin/Trash.Trash', [` ` 'events' => ['Model.beforeFind']` ` ]);`
# Nov 18th 2019, 15:28 neon1024 Then you might consider a virtual field
# Nov 18th 2019, 15:23 lpj145 thanks @neon1024 but i'm not using a FormHelp, is only for API.
# Nov 18th 2019, 15:11 neon1024 Worth bearing in mind, if you overwrote the error structure the form helper would not be able to automatically output the validation errors
# Nov 18th 2019, 15:10 neon1024 ..but if you needed to do it I’d write an entity accessor method which wrapped `getErrors()` and returned your custom format
# Nov 18th 2019, 15:10 neon1024 Changing the way an entity reports it’s errors seems pointless
# Nov 18th 2019, 15:10 neon1024 Errors are keyed by the name of the validation rule
# Nov 18th 2019, 14:55 lpj145 without write some logic ?
# Nov 18th 2019, 14:55 lpj145 is possible ?
# Nov 18th 2019, 14:55 lpj145 i'm think on "errors": [ "nasname": "my custom validation message here"]
# Nov 18th 2019, 14:54 lpj145 i'be used this options but, he not alter structure of errors, only, placeholder my message validation.
# Nov 18th 2019, 14:34 neon1024 @lpj145 You use the `'message'` option in the validation configuration
# Nov 18th 2019, 13:59 lpj145 i think is not a good data structure to verify on client side.
# Nov 18th 2019, 13:58 slackebot <lpj145>
# Nov 18th 2019, 13:58 slackebot <lpj145>
# Nov 18th 2019, 13:58 slackebot <lpj145>
# Nov 18th 2019, 13:57 lpj145 Hi friends! is possible to customize validations errors return ?
# Nov 18th 2019, 13:43 acosonic irc rocks I hate slack :)
# Nov 18th 2019, 13:41 ndm @rsteenge You can modify the validator, but you're probably better off using a separate validation set instead, see https://book.cakephp.org/3/en/orm/validation.html#using-a-different-validation-set
# Nov 18th 2019, 13:38 ndm @sam.fry If it's a false positive, then you'll need to teach your tool that. If you believe it's a bug in Chronos, then you should probably open an issue over at GitHub.
# Nov 18th 2019, 13:04 rsteenge Is it possible in cakephp 3 to remove validation rules for some fields in the controller?
# Nov 18th 2019, 12:57 jotpe Okay, thanks @ndm
# Nov 18th 2019, 12:57 sam.fry Because this commit (https://github.com/cakephp/chronos/commit/c46796e761da7a06ad57e8a635ced33ab0cbfb6e) is causing us some issues :c
# Nov 18th 2019, 12:55 sam.fry Hi all :wave: is this a good place to get Chronos support?
# Nov 18th 2019, 12:52 ndm No, composer doesn't support that (yet). https://github.com/composer/composer/issues/183
# Nov 18th 2019, 12:47 jotpe @ndm So simple autoloading the plugin doesn't work?
# Nov 18th 2019, 12:46 ndm That only works if your plugin is being required as a composer dependency itself.
# Nov 18th 2019, 12:37 jotpe Hey guys, if I have a Cake Plugin which needs a external lib, why can't I specify the composer dependency in the plugin's `composer.json`? (i.e. I have a baked plugin which uses `phpoffice/phpspreadsheet` but for some reason I need to specify the dpendency in the project's composer.json)
# Nov 18th 2019, 12:34 luizcmarin good morning I saw that "file input, Kartik" was added to the cake4 update. Does anyone have any information on how to use it on cake?
# Nov 18th 2019, 11:49 admad that's most "mall cop"s around the world :slightly_smiling_face:
# Nov 18th 2019, 11:40 challgren Haha!
# Nov 18th 2019, 11:32 dereuromark https://twitter.com/rickhanlonii/status/1195738341301522432
# Nov 18th 2019, 10:32 neon1024 :thumbsup:
# Nov 18th 2019, 10:11 conehead @neon1024 Cheers mate. Seems to be running like a charm. And as fast as I was hoping. Even seems to be running with multiple vue projects!
# Nov 18th 2019, 09:39 jotpe Morning :slightly_smiling_face: