# |
Apr 9th 2019, 13:17 |
admad |
yeah, I tried to shut down the 7.3 discussion with my last comment, hope people listen |
# |
Apr 9th 2019, 13:16 |
neothermic |
of course . I think 7.3 discussion is so premature at this stage :slightly_smiling_face: |
# |
Apr 9th 2019, 13:16 |
admad |
@neothermic but they all seem to have allegiance to another devil. They want to bump to 7.3 while I question the benefit of even bumping to 7.2 :slightly_smiling_face: |
# |
Apr 9th 2019, 13:14 |
rogerpro |
I cannot use virtual fields because MAX is in an associated model. |
# |
Apr 9th 2019, 13:14 |
rogerpro |
Which snippet? Oh, and pagination have to be called from GammaController. |
# |
Apr 9th 2019, 13:11 |
dereuromark |
of course, just reuse the same snippet. I had to do the same for geo plugin and virtual fields there. |
# |
Apr 9th 2019, 13:09 |
rogerpro |
Is it posible to paginate that in Cake 2 ? ``` select a.user_id, MAX(b.amount) as max_amount from alpha a left join beta b on (b.alpha_id = a.id) group by a.user_id order by max_amount desc; ``` |
# |
Apr 9th 2019, 12:55 |
neothermic |
@admad we have so many advocates for the devil there ;) |
# |
Apr 9th 2019, 12:46 |
dereuromark |
if you can group them, sure a plugin can help to keep them together and things structured. |
# |
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? |