Log message #4192287

# At Username Text
# Jul 8th 2019, 13:49 jeremyharris it’s flexible enough to support just about anything you want
# Jul 8th 2019, 13:49 martin That is something I’m missing right now
# Jul 8th 2019, 13:48 martin It also checks if a user is allowed to read the entity?
# Jul 8th 2019, 13:48 martin Yes I was checking that yesterday
# Jul 8th 2019, 13:48 jeremyharris yeah not to worry, it’s not going to be an overnight change :) it’s worth it though, the authorization lib is really nice
# Jul 8th 2019, 13:47 martin Then I have enough time to convert it :P
# Jul 8th 2019, 13:45 jeremyharris that’s how I read it
# Jul 8th 2019, 13:45 neon1024 Then it’ll not be included in 5.0
# Jul 8th 2019, 13:44 neon1024 So the release of 4.0 will see it marked deprecated right?
# Jul 8th 2019, 13:44 neon1024 I find this wording confusing `Deprecated since version 4.0.0`
# Jul 8th 2019, 13:32 jeremyharris yes it’ll work in 4.0.0
# Jul 8th 2019, 13:32 martin so it will still work in version 4.0.0 :P
# Jul 8th 2019, 13:32 martin “Deprecated since version 4.0.0: The AuthComponent is deprecated as of 4.0.0 and will be replaced by the authorization and authentication plugins.”
# Jul 8th 2019, 13:31 martin oh it is on the page
# Jul 8th 2019, 13:29 martin What is the future of the auth component? will this replaced with the middleware version or does the current way also work in cake 4?
# Jul 8th 2019, 12:50 dereuromark wow, that sounds like a strange bug then. I would expect this only if something failed and we dont revert properly, or so
# Jul 8th 2019, 12:40 half2me @dereuromark nope, no exceptions. When I turn of atomicity, everything works as expected
# Jul 8th 2019, 12:15 neothermic it's a cake 1.2 app that got upgraded to 2.x
# Jul 8th 2019, 12:15 neothermic :)
# Jul 8th 2019, 12:15 admad "we got about 1.5k lines in our appmodel" @neothermic you sure someone isn't actively trying to sabotage the project?
# Jul 8th 2019, 11:33 neothermic ah, we cheated, we make a singleton of the userclass for the currently logged in user :)
# Jul 8th 2019, 11:26 neon1024 Thanks to all the contributors of muffin/footprint your ideas just helped me solve a similar problem <3
# Jul 8th 2019, 10:30 dereuromark where there any exceptions or errors encountered? or does it also happen in happy case?
# Jul 8th 2019, 10:26 half2me I remember talking with someone here about it before, I think it was you :)
# Jul 8th 2019, 10:26 half2me @dereuromark do you remember having a similar issue?
# Jul 8th 2019, 10:25 half2me if I have some more time on my hands, I’ll try to trace it with the debugger and see if I can come up with anything useful
# Jul 8th 2019, 10:24 half2me the thing is, I have about 5 findOrReplace functions running in there, and 4 of the succeed, its only the last one which doesnt
# Jul 8th 2019, 10:24 half2me but I’ve come across this in two independent projects now
# Jul 8th 2019, 10:23 half2me and just saying, “oh it doesnt work in my code” is not really something usefull
# Jul 8th 2019, 10:23 half2me I would, but I haven’t been able to reproduce it with a minimal code base
# Jul 8th 2019, 10:23 neon1024 ..and ensure there isn’t a test-case for this
# Jul 8th 2019, 10:23 neon1024 Perhaps you should open an issue with some example code
# Jul 8th 2019, 10:23 half2me it saves correctly when it is disabled
# Jul 8th 2019, 10:22 half2me exactly
# Jul 8th 2019, 10:22 neon1024 However, with atomic false working it probably isn’t a validation issue
# Jul 8th 2019, 10:22 half2me as atomicity would be required for something running in my afterSave transaction
# Jul 8th 2019, 10:22 neon1024 Usually things like that, in my experience, are that something has failed validation and the transaction is rolled back. Usually a validation failure in an associated table
# Jul 8th 2019, 10:22 half2me for now I’ve just left the `['atomic' => false]` option in there, but this is not a proper solution
# Jul 8th 2019, 10:21 half2me yet I remember this exact scenario a few months ago when trying to debug something else
# Jul 8th 2019, 10:21 half2me @neon1024 I searched, but found nothing
# Jul 8th 2019, 10:11 neon1024 @half2me Github issues would be the place to look; in the cakephp/cakephp project