Log message #4226721

# At Username Text
# Feb 13th 2020, 08:40 spriz are the docs gone from the 3.x book about "old" authentication methods? :P
# Feb 13th 2020, 08:39 admad @challgren https://github.com/cakephp/cakephp/issues/14276 always include stack trace with issue :)
# Feb 13th 2020, 06:58 javier.villanueva nice
# Feb 13th 2020, 06:58 md.islam11 its working now. :+1::skin-tone-2:
# Feb 13th 2020, 06:57 md.islam11 accessible[docs.*]
# Feb 13th 2020, 06:57 md.islam11 that was the issue
# Feb 13th 2020, 06:55 javier.villanueva ok
# Feb 13th 2020, 06:55 md.islam11 trying again
# Feb 13th 2020, 06:55 md.islam11 okay
# Feb 13th 2020, 06:55 javier.villanueva I think that 'docs' => true is enought
# Feb 13th 2020, 06:54 md.islam11 ```protected $_accessible = [ 'request_id' => true, 'iexpense_request_id' => true, 'iexpense_category_id' => true, ......... . ..... 'docs.*' => true, ];```
# Feb 13th 2020, 06:51 javier.villanueva (accesible var)
# Feb 13th 2020, 06:51 javier.villanueva could you show your requestItem.php?
# Feb 13th 2020, 06:47 md.islam11 its not working
# Feb 13th 2020, 06:47 md.islam11 hmm
# Feb 13th 2020, 06:47 javier.villanueva two ways are good ....
# Feb 13th 2020, 06:46 javier.villanueva nop...your example its ok
# Feb 13th 2020, 06:43 javier.villanueva try with ```$request=$this->Requests->patchEntity($this->Requests->newEntity(), $requestData,['associated' => ['RequestItems', 'RequestItems.Docs]]]);```
# Feb 13th 2020, 06:42 javier.villanueva in my working examples I have docs => true
# Feb 13th 2020, 06:41 javier.villanueva you have "accesible" docs.*
# Feb 13th 2020, 06:39 javier.villanueva wait a minute
# Feb 13th 2020, 06:38 md.islam11 when i retrieve the data request. its working . So I think association is OK.
# Feb 13th 2020, 06:37 md.islam11 request [hasMany ] items and items hasMany docs
# Feb 13th 2020, 06:37 javier.villanueva your reltionships are hasMany?
# Feb 13th 2020, 06:35 md.islam11 like this
# Feb 13th 2020, 06:35 md.islam11 requestData[request_items][docs]
# Feb 13th 2020, 06:35 javier.villanueva with docs
# Feb 13th 2020, 06:35 javier.villanueva request_items
# Feb 13th 2020, 06:35 md.islam11 no
# Feb 13th 2020, 06:35 javier.villanueva ok I saw
# Feb 13th 2020, 06:35 md.islam11 not
# Feb 13th 2020, 06:34 md.islam11 yes
# Feb 13th 2020, 06:33 javier.villanueva your rerquestData has ['docs'] ?
# Feb 13th 2020, 06:31 md.islam11 Please check main chat
# Feb 13th 2020, 06:31 md.islam11 This line is wrong for sure .
# Feb 13th 2020, 06:31 md.islam11 ```$request=$this->Requests->patchEntity($this->Requests->newEntity(), $requestData,['associated' => ['RequestItems'=>['associated'=>['Docs']]]]);```
# Feb 13th 2020, 06:30 md.islam11 Patchentity have not docs.
# Feb 13th 2020, 06:29 md.islam11 Here is the patch entity
# Feb 13th 2020, 06:28 slackebot <md.islam11>
# Feb 13th 2020, 06:28 slackebot <md.islam11>
# Feb 13th 2020, 06:27 javier.villanueva $request