Log message #4223879

# At Username Text
# Jan 26th 2020, 20:11 challgren @luizcmarin I dont speak whatever language you speak so I would prefer if we looked at the test cases and use the terms Cooks, Chefs, and AssistantChefs
# Jan 26th 2020, 19:43 luizcmarin @challgren https://gist.github.com/LuizMarin/f92b5ab916e7a7cb3e6b61f3a73c9152
# Jan 26th 2020, 16:33 m_mck Or did I miss some marvelous way of actually getting what I want via a plugin? (and then each integration = plugin=
# Jan 26th 2020, 16:32 m_mck How would you approach it? Logically it's a `Settings` controller that keeps all kinds of setup values - and then come integrations - and then there can be a ton of them.
# Jan 26th 2020, 16:32 m_mck Hello. I am trying to find a method that I could use in the long run and that would allow me to thin the controller (by for example "splitting it"). I have tried looking into plugins, although sadly I do rely on some of the models from the original apps (which is the "wrong type" of coupling in this case).
# Jan 26th 2020, 16:17 thomas078 ```location ~* \.(?:ico|css|js|gif|jpe?g|png)$ { root /usr/share/nginx/html/webroot/; expires max; add_header Pragma public; add_header Cache-Control "public, must-revalidate, proxy-revalidate"; }``` When i set this. it will not load images
# Jan 26th 2020, 16:16 thomas078 having some problem with cakephp glide images with nginx cache expire.
# Jan 26th 2020, 12:43 challgren To fix it manually for the time being after you bake the migration_diff/snapshot just run bin/cake migrations mark_migrated
# Jan 26th 2020, 12:40 cakephp-slack @challgren thanks for opening an issue
# Jan 26th 2020, 12:38 challgren @cakephp-slack https://github.com/cakephp/bake/issues/638
# Jan 26th 2020, 11:21 challgren I'm going to be starting a new 4 project here in a bit and I'll see if it happens to me
# Jan 26th 2020, 11:12 challgren I’d probably open an issue at https://github.com/cakephp/migrations/issues
# Jan 26th 2020, 09:00 gianmarxgagliardi morning all
# Jan 26th 2020, 00:45 challgren Can you put your table so we have a complete gist
# Jan 26th 2020, 00:22 luizcmarin update, pardon
# Jan 26th 2020, 00:19 challgren Im not seeing your controller at all you have a file named controller but its a table
# Jan 26th 2020, 00:14 luizcmarin https://gist.github.com/LuizMarin/9c7c9ede4251a3c8f96ddc645255e585
# Jan 26th 2020, 00:13 challgren And access is via $this->StiCaixas
# Jan 26th 2020, 00:12 challgren You just need to set the $modelClass as the STI table
# Jan 26th 2020, 00:12 challgren You can name the controller whatever you want
# Jan 26th 2020, 00:12 luizcmarin or CaixaController ?
# Jan 26th 2020, 00:11 luizcmarin @challgren StiCaixaController? (it's real table)
# Jan 25th 2020, 23:38 challgren By default Cake is autoloading Caixa based on the controller name so you need to override the `$modelClass = 'StiCaixas';` in your controller
# Jan 25th 2020, 23:33 slackebot !gist
# Jan 25th 2020, 23:33 slackebot Command sent from Slack by challgren:
# Jan 25th 2020, 23:33 challgren Do a gist of your controller I'll show you. Do it on GitHub so I can fork it
# Jan 25th 2020, 23:33 challgren It's the same as $this-loadModel() in your controller
# Jan 25th 2020, 23:31 challgren Ok override the $modelClass in your controller with the sticaixa table class name
# Jan 25th 2020, 23:20 slackebot burned everything ... Then I started again from the beginning. It was then that I became convinced that this kind of thing cannot be done without real cooks. _* Realize that I don't write asking anything without making several attempts beforehand. I've dealt with support a lot and I know how stressful it is._
# Jan 25th 2020, 23:20 luizcmarin @challgren you understood well. So far I believe I have done everything right. But from there ..... I create a CaixaController, ContasPagarController, ContasReceberController? I created a CaixaController. He says' it doesn't exist in the database ". And it doesn't, he is right. I did not find HOW to make the menus and the screens. It is this side that I read all the material you gave me and tried to get the logic, ... but the cook here
# Jan 25th 2020, 21:58 challgren @cakephp-slack does your /bin/cake.php match https://github.com/cakephp/app/tree/master/bin/cake.php?
# Jan 25th 2020, 21:49 challgren Those types being Caixa, Caixapagar, Caixareceber, stored in the type column of your sti_caixas table in mySQL
# Jan 25th 2020, 21:47 challgren @luizcmarin from my understanding you want to have 1 table with 3 different “types” stored? Those types are then converted by the ORM into Entities that are different? Is that correct?
# Jan 25th 2020, 21:32 luizcmarin STI....
# Jan 25th 2020, 21:05 latenal Hi! I am trying to integrate a JWT authentication using the `Authentication` plugin. I read the docs and I don’t quite understand how it works. ``` public function login() { $this->request->allowMethod(['get', 'post']); $result = $this->Authentication->getResult(); if (!$result->isValid()) { throw new ForbiddenException(__('The username and password don\'t match.')); } }```
# Jan 25th 2020, 20:17 luizcmarin @challgren Excuse me. I started the STI all over again. It is impossible to continue alone without overloading the support. Difficult to implement with readme.md and does not explain how to continue. I tried every dumb way I know. I will think of alternatives.
# Jan 25th 2020, 12:30 alexdd55976 its cake 3.6
# Jan 25th 2020, 12:29 alexdd55976 `NOT IN`??
# Jan 25th 2020, 12:29 alexdd55976 am i wrong with the statement?
# Jan 25th 2020, 12:29 alexdd55976 there are tracking_ids in the variable.
# Jan 25th 2020, 12:27 alexdd55976 but get this `Impossible to generate condition with empty list of values for field (tracking_id)`v