# |
Sep 17th 2019, 10:24 |
challgren |
Weird my tests are failing on 3.8.4 but work on 3.8.2 |
# |
Sep 17th 2019, 10:24 |
jotpe |
thy |
# |
Sep 17th 2019, 10:24 |
jotpe |
@neon1024 yeah right, was a bit confused because I have that combined validation |
# |
Sep 17th 2019, 10:23 |
neon1024 |
https://github.com/cakephp/cakephp/blame/c50454fef169771cb28cb7589c9ead026f0c77f3/src/Mailer/Mailer.php#L312 |
# |
Sep 17th 2019, 10:23 |
neon1024 |
@jadb Did 5 years ago |
# |
Sep 17th 2019, 10:22 |
challgren |
Grrr who changed the Mailer->send() return value! |
# |
Sep 17th 2019, 10:21 |
neon1024 |
@jotpe They should show up in the FormHelper output if the fields match up |
# |
Sep 17th 2019, 10:17 |
jotpe |
Is there some Helper or something to show Validation Errors? |
# |
Sep 17th 2019, 10:07 |
jotpe |
Thanks @javier.villanueva it worked :slightly_smiling_face: |
# |
Sep 17th 2019, 09:55 |
steinkel |
@neon1024 SecurityComponent |
# |
Sep 17th 2019, 09:48 |
jotpe |
I'll try |
# |
Sep 17th 2019, 09:48 |
jotpe |
ah okay |
# |
Sep 17th 2019, 09:48 |
jotpe |
yeah i thought it's the right place |
# |
Sep 17th 2019, 09:48 |
javier.villanueva |
$rules->add($rules->isUnique(['first_name', 'last_name'])); |
# |
Sep 17th 2019, 09:48 |
javier.villanueva |
in buildRules you can try |
# |
Sep 17th 2019, 09:48 |
javier.villanueva |
ahm |
# |
Sep 17th 2019, 09:47 |
neon1024 |
`_Token was not found in request data` is this the CsrfMiddleware, CsrfComponent or SecurityComponent? |
# |
Sep 17th 2019, 09:47 |
jotpe |
I have a method to o this, but I want to validate when creating. So it shouldn't be possible to create a entity with this combination again |
# |
Sep 17th 2019, 09:46 |
javier.villanueva |
in entity |
# |
Sep 17th 2019, 09:46 |
javier.villanueva |
protected function _getNameDesc() { return $this->_properties['first_name'] . ' - ' . $this->_properties['last_name']; } |
# |
Sep 17th 2019, 09:45 |
javier.villanueva |
and..... |
# |
Sep 17th 2019, 09:45 |
javier.villanueva |
use in table $this->setDisplayField('name_desc'); |
# |
Sep 17th 2019, 09:44 |
jotpe |
How can i validate a combination of fields (e.g. I don't want to have a combination of `first_name` and `last_name` in my Users Table. |
# |
Sep 17th 2019, 09:27 |
jotpe |
Hello folks |
# |
Sep 17th 2019, 09:10 |
challgren |
Hmm not sure |
# |
Sep 17th 2019, 09:01 |
johnwayne |
I am using Heroku (code is on Git) and its pretty small app with baisc out of box config (CakePhp Documentation) |
# |
Sep 17th 2019, 09:00 |
challgren |
You running anything like cloudflare or ngrok? |
# |
Sep 17th 2019, 08:59 |
johnwayne |
Morning to all, I have weird problem with Session timeout. Only one customer getting Error message from Auth `You are not authorized to access that location.` and I have increase Session timeout to 43200 and session.cookie_lifetime is to 86400. What can be the problem or how can I prevent this? |
# |
Sep 17th 2019, 08:39 |
challgren |
Haha, half the crap it doesn’t I dont even know what voodoo is behind the scenes |
# |
Sep 17th 2019, 08:38 |
dereuromark |
Make one :slightly_smiling_face: |
# |
Sep 17th 2019, 08:34 |
challgren |
I wish Cake had a tableau plugin |
# |
Sep 17th 2019, 07:50 |
neon1024 |
Hey everyone :sunrise: |
# |
Sep 17th 2019, 07:20 |
alexdd55976 |
morning |
# |
Sep 17th 2019, 06:53 |
javier.villanueva |
morning all |
# |
Sep 17th 2019, 05:25 |
maymeow |
thank you ill look at it |
# |
Sep 16th 2019, 22:23 |
rightscoreanalysis |
when I specify a custom url in my form I get the CSFR alert, how can I use a custom url and CSFR together? |
# |
Sep 16th 2019, 21:49 |
rightscoreanalysis |
can i patch the entity before the rendering the form back to Admin? |
# |
Sep 16th 2019, 21:48 |
rightscoreanalysis |
after the file is read I copy the contents into an array which I then want to render in a form, alllowing the admin to make an alterations before saving |
# |
Sep 16th 2019, 21:47 |
rightscoreanalysis |
I have a form with file upload field. This allows admin to import a text file which contains data to be saved to my Model |
# |
Sep 16th 2019, 20:32 |
dereuromark |
@felipe.marinho You gather the necessary data, and let it do the rest in the background. for this usually just the id of the db row is needed, the entity etc. |
# |
Sep 16th 2019, 20:31 |
challgren |
Or straight up `fgetcsv()` |