Log message #4056139

# At Username Text
# Jul 24th 2017, 12:51 birdy247 right
# Jul 24th 2017, 12:50 lorenzo @birdy247
# Jul 24th 2017, 12:50 lorenzo maybe not the beforeMarshal, but 100% sure it is used for saving
# Jul 24th 2017, 12:50 lorenzo I’m pretty certain the join table is used for saving
# Jul 24th 2017, 12:50 sonu_nk ah got it
# Jul 24th 2017, 12:50 cleptric The auth plugin is not quite ready yet. I would recommend using the AuthComponent in the mean time.
# Jul 24th 2017, 12:50 lorenzo or that you are doing something that I did not understand
# Jul 24th 2017, 12:49 lorenzo most probably your code
# Jul 24th 2017, 12:49 hmic just put "use Cake\Datasource\ModelAwareTrait;" in the top of your class - INSIDE the class! and the loadModel() method will be available to you, like in the controllers.
# Jul 24th 2017, 12:49 birdy247 @lorenzo it would be good to know if this is a Bug with cake or my code
# Jul 24th 2017, 12:48 sonu_nk ah again i am not aware about this " modelAwareTrait " .. some intro please
# Jul 24th 2017, 12:46 hmic but it will get there ;-)
# Jul 24th 2017, 12:45 hmic as the middlewares got introduced past 3.0, it's not quite how it is by now
# Jul 24th 2017, 12:45 hmic should
# Jul 24th 2017, 12:45 sonu_nk so hmic in cakephp3 every authentication and common method should come in middleware or i am wrong ?
# Jul 24th 2017, 12:45 hmic or use the modelAwareTrait trait the controllers use too to be able to use $this->loadModel() if you like that better.
# Jul 24th 2017, 12:43 sonu_nk honesly i was not aware about this...
# Jul 24th 2017, 12:43 sonu_nk hmic, you encourage me to use this middleware ..thanx to you..
# Jul 24th 2017, 12:43 hmic yes
# Jul 24th 2017, 12:42 sonu_nk should i create use Cake\ORM\TableRegistry; in my //In src/Middleware/VerifyApiKeysMiddleware.php to make a communication with DB ?
# Jul 24th 2017, 12:07 lorenzo ah ok
# Jul 24th 2017, 12:02 birdy247 but wanted to check if they are called
# Jul 24th 2017, 12:02 birdy247 I dont "need" to use the tableObjects on the through table for now
# Jul 24th 2017, 12:02 birdy247 No, I parked it
# Jul 24th 2017, 12:02 birdy247 Hey @lorenzo
# Jul 24th 2017, 12:02 lorenzo @birdy247 did you manage to make progress on your issue?
# Jul 24th 2017, 11:57 birdy247 :+1:
# Jul 24th 2017, 11:56 hmic in the form, probably. or match the name with what it expects
# Jul 24th 2017, 11:54 birdy247 ?
# Jul 24th 2017, 11:54 birdy247 default => $variable
# Jul 24th 2017, 11:54 neon1024 Pretty sick of this `Cake\Database\Exception: Cannot describe exit_links. It has 0 columns.`
# Jul 24th 2017, 11:52 hmic why dont you just set the data to a variable? :~
# Jul 24th 2017, 11:51 birdy247 Its just to set the defaults in a form with a multple select
# Jul 24th 2017, 11:50 hmic your answer be: using a middleware
# Jul 24th 2017, 11:49 hmic birdy247: why would you want to change a request?
# Jul 24th 2017, 11:49 birdy247 wondering how/if this can be done?
# Jul 24th 2017, 11:49 birdy247 but now on 3.4
# Jul 24th 2017, 11:49 birdy247 $this->request->data['race'] = $allRaces
# Jul 24th 2017, 11:49 birdy247 I used to do this
# Jul 24th 2017, 10:45 birdy247 has anyone used mapReduce before?
# Jul 24th 2017, 10:41 neon1024 I was under the impressions that loadFixtures populated the database