Log message #4182699

# At Username Text
# Apr 9th 2019, 12:40 conehead Hm when having a lot of Models/Tables, but they are actually all quite connected to each other. Is it recommended to use plugins? Or use a custom folder structure? Somehow I think it is getting a little bit confusing
# Apr 9th 2019, 12:27 dereuromark yeah, that sure causes trouble :)
# Apr 9th 2019, 12:20 lubos Yeah, thanks. Found out that I have used `NotFoundException` class when not added to the list of uses at the top :slightly_smiling_face:
# Apr 9th 2019, 12:03 dereuromark so all good :slightly_smiling_face:
# Apr 9th 2019, 12:03 dereuromark firstOrFail should actually become 400 with debug mode off
# Apr 9th 2019, 11:25 lubos Hi all, I use `ExceptionRenderer` to handle not foound page. Currently I have used `firstOrFail` which is returning http header with code 500, how to I adjust to http 400? try-catch and custom response?
# Apr 9th 2019, 11:21 rochasmarcelo I'll check if there is any ticket related to this.
# Apr 9th 2019, 11:20 rochasmarcelo phauthentic is fork but it seems that cakephp/authentication should be a package like phauthentic/authentication-cakephp
# Apr 9th 2019, 11:19 rochasmarcelo I was going to mention that package
# Apr 9th 2019, 11:18 neon1024 Also :point_right: https://github.com/Phauthentic/authentication-cakephp
# Apr 9th 2019, 11:18 neon1024 The two packages seem to resolve the same issue though
# Apr 9th 2019, 11:17 neon1024 Will it use it, isn’t really a question we can answer. You’d need to raise a ticket or track down a code team member
# Apr 9th 2019, 11:17 neon1024 Seems like it’s got a 1.x release, so probably quite stable now
# Apr 9th 2019, 11:14 rochasmarcelo By the way what is the status of https://github.com/cakephp/authentication will it use https://github.com/Phauthentic/authentication?
# Apr 9th 2019, 10:56 neothermic mm, moving to 3.x is the minimum as once 4.x lands 2.x drops out of support :P
# Apr 9th 2019, 10:47 neon1024 So I’d think 4.1 will probably follow quite quite
# Apr 9th 2019, 10:47 neon1024 Is my understanding
# Apr 9th 2019, 10:46 neon1024 4.0 is just removing the deprecated parts of the 3.x api
# Apr 9th 2019, 10:41 neothermic and if 3.x to 4.x is not complicated. then we might be able to do that as well at the same time
# Apr 9th 2019, 10:40 neothermic also when 4.x drops we'll have to do the 3.x migration, or sit with no support
# Apr 9th 2019, 10:40 neothermic we've gotten there on some parts of the platform! just not the main part
# Apr 9th 2019, 10:39 neothermic well, first we need to get to PHP 7.2 everywhere
# Apr 9th 2019, 10:39 neothermic haha
# Apr 9th 2019, 10:36 neon1024 What do you care? You’ll be going from 2.x to 5.x at this rate! :P
# Apr 9th 2019, 10:34 neothermic (but seriously, 7.2)
# Apr 9th 2019, 10:33 neothermic 5.5 it is! ;
# Apr 9th 2019, 10:33 neothermic well, that was an easy vote
# Apr 9th 2019, 10:33 neon1024 Pinned ADmad’s message
# Apr 9th 2019, 10:32 neon1024 @neothermic Cast your vote now! :speech_balloon: :point_right: https://github.com/cakephp/cakephp/issues/13103
# Apr 9th 2019, 10:25 megan :awesome:
# Apr 9th 2019, 10:21 neothermic what version they be targeting?
# Apr 9th 2019, 10:17 neon1024 @megan Can we board the hype train?
# Apr 9th 2019, 10:17 neon1024 If the vote for the minimum PHP version for 4.0 is up, does that mean release will be soon (next few months)
# Apr 9th 2019, 10:17 neon1024 Soooo
# Apr 9th 2019, 09:56 rogerpro They need to be exposed manually but yes, hope to forget Cake 2 soon.
# Apr 9th 2019, 09:52 neon1024 Ah Cake 2, was going to say, they work great in Cake 3
# Apr 9th 2019, 09:50 rogerpro Virtual fields not working from a table in `contains` is a feature, not a bug, right? I think I forgot that they only work when in the model the find() is called from (in Cake 2)
# Apr 9th 2019, 09:31 spriz Ah yeah, I see. This would not be used in any templates right now - but suddenly this will creep into our codebase in the future I guess :slightly_smiling_face:
# Apr 9th 2019, 09:30 dereuromark 10 years of success story with this invention of mine in 2009 :P
# Apr 9th 2019, 09:30 dereuromark inside the form template you can then just do $entity::types($entity->type) which is super nice, no use statement inclusion needed.
# Apr 9th 2019, 09:29 dereuromark well, https://github.com/dereuromark/cakephp-tools/blob/master/src/Model/Entity/Entity.php is my base entity for everything, as such reordering and filtering is possible more easily than with any other way.