Log message #4219244

# At Username Text
# Dec 17th 2019, 21:17 brian.french So, I'm seeing something interesting when installing cakephp/app. It seems to be installing cakephp/cakephp (4.x-dev 767b164) instead of 4.0.0,
# Dec 17th 2019, 20:35 neothermic ```Tests: 5468, Assertions: 19475, Errors: 259, Failures: 72, Warnings: 1223, Skipped: 237```
# Dec 17th 2019, 20:32 neothermic not many problems here governor! :P
# Dec 17th 2019, 20:31 neothermic three E's
# Dec 17th 2019, 20:31 neothermic 15% so far.. five F's
# Dec 17th 2019, 20:30 neothermic I suspect most might be down to phpunit, mind
# Dec 17th 2019, 20:30 neothermic oh my, 7.4 and 2.x tests, all the `W`'s
# Dec 17th 2019, 20:03 luizcmarin @admad "why are you still using RC2 when 4.0.0 stable is released?" MarkStory gave me this command because I could not update my project. And that happened one day BEFORE the release of 4.0 .... :man-facepalming:
# Dec 17th 2019, 20:01 neothermic which testsuite runs all the cake2 tests?
# Dec 17th 2019, 20:01 neothermic hmm
# Dec 17th 2019, 19:58 luizcmarin @admad
# Dec 17th 2019, 19:58 luizcmarin --prefer-dist will continue to be used in 4x on the command line?
# Dec 17th 2019, 19:55 luizcmarin same problem with composer create-project cakephp/app
# Dec 17th 2019, 19:55 admad those db config lines are app_local.php now btw
# Dec 17th 2019, 19:54 admad why are you still using RC2 when 4.0.0 stable is released?
# Dec 17th 2019, 19:53 luizcmarin composer create-project cakephp/app:4.0.0-RC2
# Dec 17th 2019, 19:52 neothermic a new project in which version of cake? did you bake the core app?
# Dec 17th 2019, 19:50 luizcmarin good afternoon everyone. I created a new project and I am surprised that the config / app.php file does not contain DB connection lines             'username' => '',              'password' => '',              'database' => '', Has that been changed?
# Dec 17th 2019, 19:49 neothermic are you still taking corrections/fixes to 2.x and the 2.x documentation? :P
# Dec 17th 2019, 19:05 jotpe you're welcome :)
# Dec 17th 2019, 19:04 ashesh.social yeah, working great. Thanks @jotpe
# Dec 17th 2019, 18:56 jotpe try changing the user. If you're using apache. `sudo chown -R www-data:www-data tmp`
# Dec 17th 2019, 18:51 ashesh.social my tmp folder looks like this drwxrwxrwx 6 ubuntu ubuntu 4096 Dec 17 17:34 tmp
# Dec 17th 2019, 18:35 jotpe Sounds like your temp folder doesn't have the right permissions (drwxr-xrwx) or is the false user (www-data or dependent on your webserver)?
# Dec 17th 2019, 18:27 ashesh.social getting this error on the webpage after baking the tables
# Dec 17th 2019, 18:27 ashesh.social Warning (512): SplFileInfo::openFile(/usr/local/gmt/grabmyticket/tmp/cache/models/myapp_cake_model_default_events): failed to open stream: Permission denied [CORE/src/Cache/Engine/FileEngine.php, line 372]
# Dec 17th 2019, 18:22 ashesh.social i've just setup the new cakephp 4 strawberry
# Dec 17th 2019, 18:17 ashesh.social Hey all
# Dec 17th 2019, 17:58 jotpe Ah, it's the same: https://book.cakephp.org/3/en/orm/retrieving-data-and-resultsets.html#eager-loading-associations-via-contain
# Dec 17th 2019, 17:57 jotpe Seems to work both
# Dec 17th 2019, 17:56 dereuromark pretty sure the dot syntax is a bit more convenient to type
# Dec 17th 2019, 17:56 dereuromark did u try it?
# Dec 17th 2019, 17:56 jotpe is there a difference between `->contain([Model1.Model2])` and `->contain(Model1 => [Model2])`?
# Dec 17th 2019, 17:00 dereuromark I usually add the session data into the real session, less mocking involved
# Dec 17th 2019, 16:58 lucas.iturbide how can I set an Auth session for testing a Helper which uses the session from the request in the view: ``` $user = $this->getView()->getRequest()->getSession()->read("Auth.User");``` and in my test I want to verify that the user is the one I set by $this->session( [ “Auth” => [ “User” => $user->toArray() ] ] );
# Dec 17th 2019, 16:28 martin hmm intresting, cakephp 1.3 works on mysql 8
# Dec 17th 2019, 16:22 neon1024 Ah, that moment when your Component name is the same as your Table class name :face_palm:
# Dec 17th 2019, 16:14 neon1024 Perhaps, I’ll see if `$this->Form->secure()` works for me first :thinking_face:
# Dec 17th 2019, 16:11 neon1024 Or shall I just unlock all my ajax actions, as that seems to be what Past Dave (tm) has done
# Dec 17th 2019, 16:09 neon1024 Is there a neat way to generate `_Token` for Ajax?
# Dec 17th 2019, 15:58 gianmarxgagliardi I did a similar exercise with DogsCats with the same data structure and also gave me the names of the fields