Log message #4203368

# At Username Text
# Sep 16th 2019, 17:16 jotpe I set the entity_id when creating the newEntity
# Sep 16th 2019, 17:15 javier.villanueva it creates the protection entity with emailaddress_id to "null"?
# Sep 16th 2019, 17:15 jotpe yes
# Sep 16th 2019, 17:15 slackebot <jotpe>
# Sep 16th 2019, 17:15 javier.villanueva the new confirmation?
# Sep 16th 2019, 17:14 javier.villanueva and the entity is created?
# Sep 16th 2019, 17:14 jotpe I have
# Sep 16th 2019, 17:14 javier.villanueva because this is the solution
# Sep 16th 2019, 17:13 jotpe yes
# Sep 16th 2019, 17:13 javier.villanueva check if you has access to this field in Entity
# Sep 16th 2019, 17:07 jotpe Unfortunately setting the field in the constructor didn't worked
# Sep 16th 2019, 17:06 slackebot <jotpe>
# Sep 16th 2019, 17:05 jotpe When I create a new Entity with NewEntity() I want to automatically set a field in the entity. How can I do that?
# Sep 16th 2019, 16:37 daniel.upshaw Found this too @felipe.marinho https://github.com/WyriHaximus/cakephp-async-orm
# Sep 16th 2019, 16:36 felipe.marinho @dan I'll check this option...
# Sep 16th 2019, 16:36 felipe.marinho After 3 minutes executing this action I'm receiving and EMPTY RESPONSE in my browser, but if I try to reload the page, the script still working for more 3 minutes... and after the execution of the script is done the page works perfect. I don't know how to solve it, I changed every timeout in my server, keep-alive-http, everything, and I still receiving this empty response after exact 3 minutes.
# Sep 16th 2019, 16:33 daniel.upshaw @felipe.marinho Like this concept? https://reactphp.org/
# Sep 16th 2019, 16:29 felipe.marinho Hey guys... how can I create an asyncronous action/script?
# Sep 16th 2019, 15:27 daniel.upshaw Thanks
# Sep 16th 2019, 15:26 ricksaccous if you run into trouble then feel free to ask questions
# Sep 16th 2019, 15:26 daniel.upshaw Lol fair enough
# Sep 16th 2019, 15:26 ricksaccous just copy and paste from the docs, lol
# Sep 16th 2019, 15:25 daniel.upshaw But it's outdated it seems
# Sep 16th 2019, 15:25 daniel.upshaw There's this Udemy course: https://www.udemy.com/course/cakephp-3-tutorial-with-user-authentication-and-admin/
# Sep 16th 2019, 15:24 daniel.upshaw Of a recommended codebase
# Sep 16th 2019, 15:24 daniel.upshaw Mainly a structural overview
# Sep 16th 2019, 15:23 ricksaccous what are you trying to do that you feel lacks explanation to achieve?
# Sep 16th 2019, 15:22 daniel.upshaw It's not super hands-on though
# Sep 16th 2019, 15:22 daniel.upshaw Yep
# Sep 16th 2019, 15:22 ricksaccous @daniel.upshaw have you read the docs on it?
# Sep 16th 2019, 15:22 daniel.upshaw Having a hard time finding clear tutorials or examples of the newest Authentication system
# Sep 16th 2019, 15:13 itmpls for contains it decides whether to left join or separate query it, right?
# Sep 16th 2019, 15:13 itmpls yeah but the thing don't even left join it I think
# Sep 16th 2019, 15:12 ricksaccous or at least that's the easiest way in my head
# Sep 16th 2019, 15:12 ricksaccous @itmpls I think you'd have to select the count of the hasmany and then do a having where count >1
# Sep 16th 2019, 15:09 itmpls if I contain a hasMany table, it will do a separate select . query unless I change the query strategy, right? i'm just trying to do a having clause where i wanna pull if there are >1 records in the hasMany
# Sep 16th 2019, 15:09 ricksaccous @jotpe http://docs.phinx.org/en/latest/migrations.html#executing-queries
# Sep 16th 2019, 15:09 jotpe Will do that then :slightly_smiling_face:
# Sep 16th 2019, 15:08 ricksaccous you can indeed insert raw sql
# Sep 16th 2019, 15:08 jotpe Or can i insert raw sql?
# Sep 16th 2019, 15:08 ricksaccous might as well just write straight up SQL because I don't think phinx has an ORM like CakePHP that handles something like that