Log message #4219688

# At Username Text
# Dec 20th 2019, 14:13 luke Hey, does anyone know if there is any documentation on creating a custom identity resolver for the new authentication plugin?
# Dec 20th 2019, 14:09 tibor.hajos @dsar Thanks, I'll go check out the issues.
# Dec 20th 2019, 14:09 val Hmmm... it is `array` but not `ArrayObject` there
# Dec 20th 2019, 14:03 noel Oh.. I guess I'm not loading a config for CLI mode anymore since I configured for deployment :(
# Dec 20th 2019, 14:01 noel bake has suddenly stopped working for me with this error: `Exception: If config is null, key must be an array.` Any clues? I tried rolling back my code to a version where I know bake was working – still borked.
# Dec 20th 2019, 14:00 noel @val https://api.cakephp.org/3.8/class-Cake.ORM.Table.html#_save
# Dec 20th 2019, 13:56 gianmarxgagliardi it was a typo
# Dec 20th 2019, 13:55 dsar I know @noel ;)
# Dec 20th 2019, 13:54 dsar @gianmarxgagliardi I didn't expect that would fix the problem, it is just better to use correct plurals in CakePHP
# Dec 20th 2019, 13:53 noel @dsar Matchs is not a correct plural
# Dec 20th 2019, 13:48 gianmarxgagliardi :(
# Dec 20th 2019, 13:48 gianmarxgagliardi @dsar the substance does not change
# Dec 20th 2019, 13:47 admad there will be other things you can help with
# Dec 20th 2019, 13:47 admad :)
# Dec 20th 2019, 13:45 tibor.hajos @admad aww, I was just about to submit a merge request. But your implementation looks more thorough than mine.
# Dec 20th 2019, 13:44 val Hi, where can I find documentation for `$options` used in `public function afterSave(Event $event, EntityInterface $entity, ArrayObject $options)`?
# Dec 20th 2019, 13:39 gianmarxgagliardi I try to put matches? and put it all back into cooking?
# Dec 20th 2019, 13:33 dsar Is Matchs a correct plural? It is better to use the same plurals as the Inflector class to avoid problems in CakePHP
# Dec 20th 2019, 13:30 gianmarxgagliardi ```$match->club->nome_societa``` in the variables I can access the name of only one of the two clubs there is no way to be able to take both of them thus obtaining two array clubs in the variables
# Dec 20th 2019, 13:30 admad @tibor.hajos https://github.com/cakephp/cakephp/pull/14056
# Dec 20th 2019, 13:25 noel Does anyone know of any sublime packages that will tidy a .ctp file?
# Dec 20th 2019, 13:24 admad @tibor.hajos I actually already have an almost finished implementation for it locally :)
# Dec 20th 2019, 13:18 dsar @tibor.hajos Documentation also needs contributions, e.g. more tutorials about common use cases
# Dec 20th 2019, 13:18 gianmarxgagliardi ```public function index()     {         $this->paginate = [             'contain' => ['SeasonReferees', 'Clubs'],         ];                  $matchs = $this->paginate($this->Matchs);         $this->set(compact('matchs'));     }```
# Dec 20th 2019, 12:38 ceeram you'd better @tibor.hajos
# Dec 20th 2019, 10:35 tibor.hajos Awesome :) I'll do my best
# Dec 20th 2019, 10:27 dereuromark @tibor.hajos go for it :)
# Dec 20th 2019, 10:11 jotpe Hi folks! It's friday :tada:
# Dec 20th 2019, 10:04 slackebot something easy to start of with. Is this currently being worked on? And if not, could I please make an attempt?
# Dec 20th 2019, 10:04 tibor.hajos Hello all! I have been using cake for a few months now and I would like to contribute in order to give back to people that have been making my life easier and in order to improve my coding skills. I also need an excuse to get into the source code of Cake as I have an urge to take a look at it :) At the 4.1 milestone (https://github.com/cakephp/cakephp/wiki/4.1-Roadmap) I noticed the log message creation needs improvement. This seems
# Dec 20th 2019, 09:40 gianmarxgagliardi ok perfect. now I try to cook everything again according to the conventions
# Dec 20th 2019, 09:39 challgren But without seeing your rules can’t really say for sure
# Dec 20th 2019, 09:38 challgren but one issue I see is your Matches.referee_id should be Matches.season_referee_id to follow cake naming conventions
# Dec 20th 2019, 09:37 challgren Oh NM
# Dec 20th 2019, 09:37 challgren That needs to be in your Matches table
# Dec 20th 2019, 09:36 slackebot <challgren>
# Dec 20th 2019, 09:34 slackebot $this->setPrimaryKey('id'); $this->belongsTo('SeasonReferees', [ 'foreignKey' => 'referee_id', 'joinType' => 'INNER', ]); $this->belongsTo('Clubs', [ 'foreignKey' => 'club_home_id', 'joinType' => 'INNER', ]); $this->belongsTo('Clubs', [ 'foreignKey' => 'club_visitor_id', 'joinType' => 'INNER', ]); }```
# Dec 20th 2019, 09:34 slackebot $this->belongsTo('Referees', [ 'foreignKey' => 'referee_id', 'joinType' => 'INNER', ]); $this->hasMany('Matchs', [ 'foreignKey' => 'referee_id', ]); }``` While in the model>table for Matchs: ``` public function initialize(array $config) { parent::initialize($config); $this->setTable('matchs'); $this->setDisplayField('id');
# Dec 20th 2019, 09:34 gianmarxgagliardi hi I have an insertion problem, it gives me: `"ExistsIn rule for 'referee_id' is invalid. 'Referees' is not associated with 'App\Model\Table\MatchsTable'."` In the model>table for SeasonReferees: ``` public function initialize(array $config) { parent::initialize($config); $this->setTable('season_referees'); $this->setDisplayField('id'); $this->setPrimaryKey('id');
# Dec 20th 2019, 08:29 gianmarxgagliardi morning
# Dec 20th 2019, 06:51 megan morning :)