Log message #4182436

# At Username Text
# Apr 5th 2019, 18:42 ricksaccous ie i have different address tables but i place the data from each in a set of fields that are more general
# Apr 5th 2019, 18:42 ricksaccous but placing the data in some set columns
# Apr 5th 2019, 18:42 ricksaccous potentially different places
# Apr 5th 2019, 18:42 ricksaccous what is the proper term for having data from different places
# Apr 5th 2019, 18:10 asdfgh anyone?
# Apr 5th 2019, 17:29 asdfgh why??!
# Apr 5th 2019, 17:29 asdfgh Warning (2): Illegal string offset 'callable' [CORE/src/Event/EventManager.php, line 201] Cannot unset string offsets when i do: $this->getEventManager()->on(new AppListener()); in the AppController's initialize method
# Apr 5th 2019, 16:41 kaliel still no ouput in shell :S
# Apr 5th 2019, 16:33 admad Model cache probably
# Apr 5th 2019, 16:09 kaliel Is there some cache being used when working with migrations ?
# Apr 5th 2019, 16:06 asdfgh hmm ok
# Apr 5th 2019, 16:06 asdfgh neon1024 so i shuld continue using a deprecated method
# Apr 5th 2019, 16:04 neon1024 @dereuromark I had my consume in Application::bootstrap instead of in /config/bootstrap - that was the issue :slightly_smiling_face:
# Apr 5th 2019, 15:51 kaliel hi everyone, do you know where i can find logs from migrations cli please ? Because running 'bin/bake migrations status' doesnt output anything
# Apr 5th 2019, 15:28 joopm i use $this->loadModel('UserManager.People');
# Apr 5th 2019, 15:24 joopm i got the same error Cannot marshal data for "Roles" association. It is not associated with "Users".
# Apr 5th 2019, 15:22 joopm no i try your suggest
# Apr 5th 2019, 15:22 joopm first i checked the associations by debug($this->Users) its showed the association is setup correctly
# Apr 5th 2019, 15:21 ricksaccous np
# Apr 5th 2019, 15:21 joopm thank you soo much your time and effort
# Apr 5th 2019, 15:21 ricksaccous and if Users and roles are complaining about not being associated be sure you have the association set up correctly in the Users module
# Apr 5th 2019, 15:20 ricksaccous 'associated => ['Users' => ['validate' => true, 'associated' => ['Roles']]
# Apr 5th 2019, 15:19 joopm but when i tried to save the Users.Roles it statethat no association between users and roles
# Apr 5th 2019, 15:19 ricksaccous because you're associated array is not formatted correctly
# Apr 5th 2019, 15:19 joopm its executed without error
# Apr 5th 2019, 15:19 joopm when i try only Users
# Apr 5th 2019, 15:19 joopm Users and Roles does not saved
# Apr 5th 2019, 15:18 joopm $this->People->save($person,['associated'=>['Users','Users.Roles']])
# Apr 5th 2019, 15:18 joopm $person = $this->People->patchEntity($person, $this->request->getData(),['associated'=>['Users'=>['validate'=>true],'Users.Roles']]);
# Apr 5th 2019, 15:18 joopm but
# Apr 5th 2019, 15:18 joopm i thought it will works as normally
# Apr 5th 2019, 15:17 joopm i would like to save association in my plugin
# Apr 5th 2019, 15:17 joopm hello all
# Apr 5th 2019, 15:10 dereuromark consume() sure is problematic if the config is not restored/resetted
# Apr 5th 2019, 15:09 dereuromark integration test cases usually go through the whole dispatching process
# Apr 5th 2019, 15:09 dereuromark why shouldnt it?
# Apr 5th 2019, 15:09 neon1024 Very odd
# Apr 5th 2019, 15:08 neon1024 `ConnectionManager::drop('SamKnows');`
# Apr 5th 2019, 15:08 neon1024 I have to drop the config in the test-case
# Apr 5th 2019, 15:08 neon1024 ..and I am getting a config collision in my test case
# Apr 5th 2019, 15:08 neon1024 Because my Application has `ConnectionManager::setConfig(Configure::consume('Webservices'));`