Log message #4124488

# At Username Text
# Mar 13th 2018, 01:19 slackebot '2018-03-13T01:17:48+00:00', 'timezone' => 'UTC', 'fixedNowTime' => false }, '[new]' => true, '[accessible]' => [ 'name' => true, 'description' => true, 'created' => true, 'modified' => true ], '[dirty]' => [ 'name' => true, 'description' => true, 'created' => true, 'modified' => true ], '[original]' => [], '[virtual]' => [], '[errors]' => [], '[invalid]' => [], '[repository]' => 'People' } ```
# Mar 13th 2018, 01:19 bakro.istvan I put the following: ``` public function beforeSave($event, $data, $options) { debug($data); die; } ``` ```/src/Model/Table/PeopleTable.php (line 71) object(App\Model\Entity\Person) { 'name' => 'steve', 'description' => 'desc', 'created' => object(Cake\I18n\Time) { 'time' => '2018-03-13T01:17:48+00:00', 'timezone' => 'UTC', 'fixedNowTime' => false }, 'modified' => object(Cake\I18n\Time) { 'time' =>
# Mar 13th 2018, 01:10 dereuromark How does the data look like right beforeSave() end?
# Mar 13th 2018, 00:55 spencdev But as they say, this too shall pass.
# Mar 13th 2018, 00:55 bakro.istvan Could you please look at it. Am I missing some configs?
# Mar 13th 2018, 00:55 spencdev Now I'm having a fixture not inserting properly. Lol. One thing after another!
# Mar 13th 2018, 00:54 dereuromark ok :slightly_smiling_face:
# Mar 13th 2018, 00:54 spencdev I think I got it solved. I'm not sure how, I just deleted it and restarted. I'm not sure why it's fixed. lol
# Mar 13th 2018, 00:54 dereuromark try looking into my plugins that have route based integration testing
# Mar 13th 2018, 00:54 dereuromark yeah, unfortunately, i dont quite remember the details of what fixed it for me
# Mar 13th 2018, 00:52 spencdev ah, hmm. It's very... aggravating. lol
# Mar 13th 2018, 00:51 dereuromark something
# Mar 13th 2018, 00:51 spencdev sth?
# Mar 13th 2018, 00:50 dereuromark I have seen this one before, too. I guess the routing isnt loaded or sth?
# Mar 13th 2018, 00:27 spencdev Kind of confused... Randomly (after I baked a new test controller) I get `MissingControllerException: Controller class could not be found. ` Notice the two spaces where the class should be. This happens when using `$this->get('url-here')`
# Mar 12th 2018, 22:33 bakro.istvan I tought this could be a problem, but it turned it doesn't. I created a liitle POC for this: https://gist.github.com/bakroistvan/2c522cb77b062be32b924dd43e8769cd
# Mar 12th 2018, 22:32 bakro.istvan My model's name is Person end the table is people.
# Mar 12th 2018, 22:28 xinobi thank you very much for your help and have a nice meal :)
# Mar 12th 2018, 22:27 savant good luck :slightly_smiling_face:
# Mar 12th 2018, 22:27 savant im off for dinner, let me know if you figure it out
# Mar 12th 2018, 22:27 savant same in your controller code
# Mar 12th 2018, 22:27 savant find out where in your view you are using plural Users
# Mar 12th 2018, 22:27 savant not the joinType or strategy
# Mar 12th 2018, 22:27 savant thats the source of your trouble
# Mar 12th 2018, 22:27 savant note that I removed the extra `s`
# Mar 12th 2018, 22:26 savant I’m _guessing_ that you should refer to them in the UserEmails and UserPhones method
# Mar 12th 2018, 22:26 savant but your table class refers to UserEmails and UserPhones: https://pastebin.com/jmMZvibg
# Mar 12th 2018, 22:26 savant you have UsersEmails and UsersPhones
# Mar 12th 2018, 22:26 savant https://pastebin.com/5nkEH2c5 <-- from your Controller code
# Mar 12th 2018, 22:25 savant in others UserEmails
# Mar 12th 2018, 22:25 xinobi https://pastebin.com/HFkZNpvD in my view <?= $this->Paginator->sort('UserEmails.address', h('E-Mail')) ?>
# Mar 12th 2018, 22:25 savant yeah in some cases you are referring to UsersEmails
# Mar 12th 2018, 22:25 savant ah
# Mar 12th 2018, 22:25 savant what is in your view?
# Mar 12th 2018, 22:25 savant not UsersEmails
# Mar 12th 2018, 22:25 savant the table class is UserEmails
# Mar 12th 2018, 22:24 savant based on what you showed me
# Mar 12th 2018, 22:24 savant _also_ it looks like that would be correct
# Mar 12th 2018, 22:24 savant whats the query generated
# Mar 12th 2018, 22:22 xinobi savant this is the error Error: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'UsersEmails.address' in 'order clause'
# Mar 12th 2018, 22:17 savant what is the _exact_ error you ge