# |
Apr 10th 2019, 13:39 |
josbeir |
:shrug: |
# |
Apr 10th 2019, 13:38 |
neon1024 |
Why don’t migrations have a namespace |
# |
Apr 10th 2019, 13:08 |
joopm |
@neon1024 |
# |
Apr 10th 2019, 12:59 |
joopm |
<neon1024> |
# |
Apr 10th 2019, 11:59 |
joopm |
i dont know exactly where to place the new keyword as you wrote |
# |
Apr 10th 2019, 11:52 |
joopm |
user(s) is saved |
# |
Apr 10th 2019, 11:52 |
joopm |
my request look like this |
# |
Apr 10th 2019, 11:50 |
joopm |
can i delete this upload file? |
# |
Apr 10th 2019, 11:49 |
joopm |
Uploaded file: https://uploads.kiwiirc.com/files/b757352f907ad5f778622a95e347993d/pasted.txt |
# |
Apr 10th 2019, 11:43 |
neon1024 |
Well, do check your request data is formatted correctly, according to the book |
# |
Apr 10th 2019, 11:41 |
joopm |
no luck |
# |
Apr 10th 2019, 11:37 |
joopm |
$person = $this->People->patchEntity($person, $this->request->getData(),['associated'=>['Users'=>['validate'=>true,'associated'=>'Roles']]]); |
# |
Apr 10th 2019, 11:36 |
joopm |
do you think that this must works: |
# |
Apr 10th 2019, 11:36 |
joopm |
thank you neon1024 |
# |
Apr 10th 2019, 11:35 |
neon1024 |
You need to add a new key on each level |
# |
Apr 10th 2019, 11:35 |
neon1024 |
You’ve missed the extra ‘associated’ key |
# |
Apr 10th 2019, 11:24 |
joopm |
also i am able to add new entry in UsersRoles |
# |
Apr 10th 2019, 11:24 |
joopm |
i double check the Roles and Users models |
# |
Apr 10th 2019, 11:24 |
joopm |
the Roles does not |
# |
Apr 10th 2019, 11:24 |
joopm |
but only the People data and User data saved |
# |
Apr 10th 2019, 11:23 |
joopm |
the patchEntity : $person = $this->People->patchEntity($person, $this->request->getData(),['associated'=>['Users'=>['validate'=>true],'Users.Roles']]); |
# |
Apr 10th 2019, 11:23 |
joopm |
i have some issue with saving nested association |
# |
Apr 10th 2019, 11:23 |
joopm |
hello there |
# |
Apr 10th 2019, 09:27 |
neon1024 |
Morning all :wave: |
# |
Apr 10th 2019, 08:16 |
spriz |
:) :,) |
# |
Apr 10th 2019, 06:37 |
tigrangab |
Ive been on IRC for the past two weeks wondering what the hell slackebot is. Haven't used cake in a few years. I didn't make the connection until today that it moved over to slack |
# |
Apr 10th 2019, 05:51 |
challgren |
Probably more if you count the IRC lurkers |
# |
Apr 10th 2019, 05:30 |
narendravaghela |
So, we have 3K members now :tada: |
# |
Apr 10th 2019, 01:27 |
challgren |
O_o https://github.com/cakephp/cakephp/releases/tag/3.7.6 |
# |
Apr 10th 2019, 01:09 |
hollistergraham123 |
@sdevore You are the bomb |
# |
Apr 10th 2019, 01:07 |
sdevore |
@hollistergraham123 can you do `$this->response = $this->response->withStatus(500);` |
# |
Apr 9th 2019, 23:46 |
hollistergraham123 |
So when returning the error like this I would like to set the http response code to 500 |
# |
Apr 9th 2019, 23:46 |
hollistergraham123 |
When using the JsonView is there a way to set the status of the response? |
# |
Apr 9th 2019, 21:07 |
admad |
the 1st code block in this section shows you how https://book.cakephp.org/3.0/en/controllers/components/authentication.html#configuring-authentication-handlers |
# |
Apr 9th 2019, 20:55 |
maymeow |
Can i use non default user table for auth component? if yes How? |
# |
Apr 9th 2019, 19:56 |
sdevore |
I have used this as a starting point in the past for a cakephp docker setup https://github.com/cwbit/cakephp-docker |
# |
Apr 9th 2019, 19:46 |
johannsan |
i figured u guys mayb could help me. i would like to dev my cakephp apps using docker containers. do u have an easy-to-use dockerfile? mayb a good tutorial?! my knowledge on docker is limited, but i don't mind learning it. |
# |
Apr 9th 2019, 19:43 |
johannsan |
hello! |
# |
Apr 9th 2019, 19:43 |
abdualelah.mdy |
solve it. thanks anyway |
# |
Apr 9th 2019, 19:39 |
abdualelah.mdy |
help please |
# |
Apr 9th 2019, 19:38 |
slackebot |
<abdualelah.mdy> |