Log message #4203435

# At Username Text
# Sep 16th 2019, 19:51 jotpe :D
# Sep 16th 2019, 19:49 felipe.marinho It's an action that read a CSV with 500k lines and insert into the database lol
# Sep 16th 2019, 19:48 felipe.marinho This is my code: https://pastebin.com/ueqYpSG3
# Sep 16th 2019, 19:47 ricksaccous this might be more of a jquery/js question btw
# Sep 16th 2019, 19:47 ricksaccous where is the code you are using to execute the action?
# Sep 16th 2019, 19:47 ricksaccous how often are you executing the action?
# Sep 16th 2019, 19:46 ricksaccous how are you executing the action?
# Sep 16th 2019, 19:46 felipe.marinho Has anyone had a problem like this?
# Sep 16th 2019, 19:43 ricksaccous I've got enough juice for another hour and a half actually which is pretty much what I have to do
# Sep 16th 2019, 19:41 jotpe Oh damn :(
# Sep 16th 2019, 19:40 ricksaccous I'm feeling tired but unfortunately I have to chug a lug on for a while
# Sep 16th 2019, 19:40 ricksaccous it's not good working when you're tired
# Sep 16th 2019, 19:39 ricksaccous lol
# Sep 16th 2019, 19:39 jotpe I should go to bed...
# Sep 16th 2019, 19:39 jotpe Just stupid. My Query is against the Confirmation and not the Email itself
# Sep 16th 2019, 19:38 jotpe Ah wait
# Sep 16th 2019, 19:37 ricksaccous ok
# Sep 16th 2019, 19:37 jotpe The correct Entity
# Sep 16th 2019, 19:37 jotpe Well, it finds it.
# Sep 16th 2019, 19:36 ricksaccous are you sure the model is using that Entity?
# Sep 16th 2019, 19:36 slackebot <jotpe>
# Sep 16th 2019, 19:36 ricksaccous are you sure your naming is correct?
# Sep 16th 2019, 19:36 ricksaccous are you sure it's namespaced correctly?
# Sep 16th 2019, 19:36 jotpe Clearing the Cache didn't help. I remember I had the same problem and it was something with the Object.
# Sep 16th 2019, 19:35 ricksaccous if you do a find on the model without specifying select fields do you get "status" back?
# Sep 16th 2019, 19:35 ricksaccous did you clear your cache? did you recently add that column?
# Sep 16th 2019, 19:35 jotpe Yeah, i was testing. but the thing is....it didn't even get into that function
# Sep 16th 2019, 19:34 ricksaccous you should be able to do $entity->status = 'possible_enum'; without that
# Sep 16th 2019, 19:34 ricksaccous curious why you're even using that set... since it isn't mutating anything...
# Sep 16th 2019, 19:34 jotpe the field is an enum
# Sep 16th 2019, 19:34 jotpe also $_accessible
# Sep 16th 2019, 19:33 jotpe yes
# Sep 16th 2019, 19:33 ricksaccous do you have a status field in the schema?
# Sep 16th 2019, 19:33 jotpe I want to set the status of the mailaddress
# Sep 16th 2019, 19:33 jotpe https://book.cakephp.org/3.0/en/orm/entities.html#Cake\ORM\Entity::set
# Sep 16th 2019, 19:33 jotpe Yes.
# Sep 16th 2019, 19:32 ricksaccous getters are when you want to create new virtual fields based on existing properties
# Sep 16th 2019, 19:31 ricksaccous setters are for when you want to modify an existing property and spit that out
# Sep 16th 2019, 19:28 jotpe I know it was something with an Object/Enity, but can't remember. Anyone knows?
# Sep 16th 2019, 19:28 jotpe For some reason I got `Call to undefined method Users\Model\Entity\Emailaddress::status()`
# Sep 16th 2019, 19:27 slackebot <jotpe>