Log message #4115592

# At Username Text
# Feb 8th 2018, 14:17 sugitime I put that right before the ->notEmpty calls
# Feb 8th 2018, 14:17 sugitime like this?: $validator->requirePresence('username', 'email', 'password', 'verify-password')
# Feb 8th 2018, 14:16 hmic but you get your password hashed, which is good ;-)
# Feb 8th 2018, 14:16 sugitime yes one moment
# Feb 8th 2018, 14:15 hmic can you add the notEmpty and requried calls to your validator please?
# Feb 8th 2018, 14:15 sugitime nope I dont get errors
# Feb 8th 2018, 14:15 hmic no errors
# Feb 8th 2018, 14:15 sugitime thats the Debugger::dump($user), added after the patchEntity call, but before the save call
# Feb 8th 2018, 14:15 sugitime https://pastebin.com/6qWKzTDB
# Feb 8th 2018, 14:13 hmic debug the user after the patchentity call
# Feb 8th 2018, 14:13 hmic sugitime: add: required and notEmpty to the fields?!
# Feb 8th 2018, 14:12 sugitime tutorial blogs, I mean
# Feb 8th 2018, 14:12 sugitime the data validation and saving the record is code pulled directly from the cakephp 3.5 blogs.
# Feb 8th 2018, 14:11 sugitime that is my UsersTable.php and UsersController.php
# Feb 8th 2018, 14:11 sugitime https://pastebin.com/MyJM5H0y
# Feb 8th 2018, 14:10 k4t can I nest contain inside of matching? Is it valid?
# Feb 8th 2018, 14:10 sugitime or… let me double check...
# Feb 8th 2018, 14:10 sugitime oh my mistake, sorry, I am using patchEntity
# Feb 8th 2018, 14:10 hmic not on save
# Feb 8th 2018, 14:09 hmic sugitime: validation happens on new/patchEntity
# Feb 8th 2018, 14:09 sugitime I have a validation to ensure that the passwords match and that they are atleast 8 characters, but I can easily submit a 2 character password, both passwords different.
# Feb 8th 2018, 14:09 sugitime so I’m trying to get data validation to work on my Users table. I setup validatorDefault in my UserTable.php, then I call the save command from my controller, but the validation set never gets used
# Feb 8th 2018, 14:08 k4t elo
# Feb 8th 2018, 13:57 raju How to Dynamically create
# Feb 8th 2018, 13:55 slackebot 'dir' => 'image_dir', //'size' => 'size_dir', 'type' => 'image_type', ], //// ```
# Feb 8th 2018, 13:55 saeideng ``` $this->addBehavior('Josegonzalez/Upload.Upload', [ 'image' => [ 'path' => .... 'fields' => [ 'dir' => 'image_dir', //'size' => 'size_dir', 'type' => 'image_type', ], /// 'image2' => [ 'path' => .... 'fields' => [
# Feb 8th 2018, 13:53 raju using Jose Diaz-Gonzalez plug in
# Feb 8th 2018, 13:53 raju HOw to upload cakephp3 multiple files
# Feb 8th 2018, 13:53 raju Hi Guys
# Feb 8th 2018, 13:53 saeideng `/path/` -> `/path`
# Feb 8th 2018, 13:40 alysson-azevedo i mean, a case like ```
# Feb 8th 2018, 13:40 alysson-azevedo Hi. Does `Router::prefix` inside a `Router::scope`?
# Feb 8th 2018, 13:27 hmic can all your supported browsers use require()?
# Feb 8th 2018, 13:25 birdy247 require('eonasdan-bootstrap-datetimepicker');
# Feb 8th 2018, 13:25 birdy247 @neon1024 I am doing things like this
# Feb 8th 2018, 13:20 pedrorocha I'm afraid of compatibility issues, because this app is gonna be an extension to another two cakephp applications running 3.1.6 version
# Feb 8th 2018, 13:18 saeideng and `composer install `
# Feb 8th 2018, 13:17 admad that said it's a bad idea making a new project with older version
# Feb 8th 2018, 13:17 saeideng chnage composer.json
# Feb 8th 2018, 13:17 saeideng composer cakephp/app
# Feb 8th 2018, 13:17 pedrorocha Thanks