Log message #4089152

# At Username Text
# Oct 12th 2017, 15:08 hmic !tell jl.fmst about gist
# Oct 12th 2017, 15:08 jl.fmst give me a second before i throw this big heap of ....*** onto you guys
# Oct 12th 2017, 15:08 hmic inoas, you need to accept my first guess with his second sentence. you are correct that reading data might be happening form a view - even though bad practice and unneccessary, but writing data is a big NONO in MVC too.
# Oct 12th 2017, 15:06 jl.fmst :)
# Oct 12th 2017, 15:06 jl.fmst oh you...you would have a headache
# Oct 12th 2017, 15:06 hmic show your code and problem please
# Oct 12th 2017, 15:06 inoas hmic it is time we rename cakephp to Model Controller Presenter Framework ;p
# Oct 12th 2017, 15:06 jl.fmst :((
# Oct 12th 2017, 15:06 jl.fmst basically a form is trying to push data but i have no idea how it's sending, if at all, sending to the associated model of the controller
# Oct 12th 2017, 15:06 hmic jl.fmst: no. you are not to use the model layer from the view layer
# Oct 12th 2017, 15:06 inoas you mean view template I assume (.ctp), you can probably, you should not
# Oct 12th 2017, 15:05 jl.fmst ah, it's, just...well, i've got this error running on a view file, can i just include table registry into it?
# Oct 12th 2017, 15:05 inoas throws a genglish party.
# Oct 12th 2017, 15:05 hmic filedWriteWarning
# Oct 12th 2017, 15:04 inoas well it only warns on write Failures :)
# Oct 12th 2017, 15:04 hmic warnOnFailure
# Oct 12th 2017, 15:04 inoas https://github.com/cakephp/cakephp/pull/11313/files#diff-485f854cd153aeb863ed0868ec004cd2R51
# Oct 12th 2017, 15:03 inoas warnWhenWritesFail would be another flag name - all so verbose
# Oct 12th 2017, 15:03 hmic is failing (fails) vs. failure
# Oct 12th 2017, 15:02 inoas is "fails" as noun proper english? or just "failures"?
# Oct 12th 2017, 15:01 inoas function/method called would be warning()
# Oct 12th 2017, 15:01 neon1024 @jl.fmst If your settings controller doesn’t have a save() call, then perhaps it’s a behaviour
# Oct 12th 2017, 15:01 inoas warnOnWriteFails vs warnOnWriteFailures vs warningOnWriteFails vs warningOnWriteFailures
# Oct 12th 2017, 15:00 neon1024 But always handy to know for sure
# Oct 12th 2017, 15:00 neon1024 Well debug kit does tell you about generated table instances
# Oct 12th 2017, 14:59 inoas https://gist.github.com/inoas/85f3b3a5552a41347ce5c2b289273ae1 helps me with missing or miss-named table classes
# Oct 12th 2017, 14:57 jl.fmst @neon1024, awesome i'll try that
# Oct 12th 2017, 14:57 jl.fmst this is all i can get off the error log
# Oct 12th 2017, 14:57 neon1024 Carefull with the table registry though as it will auto-create stuff if it’s not loaded
# Oct 12th 2017, 14:57 jl.fmst https://gist.github.com/anonymous/f8517b13fcab25613d0070099dd5c07c
# Oct 12th 2017, 14:57 neon1024 `TableRegistry::exists('Foo')`
# Oct 12th 2017, 14:56 jl.fmst well
# Oct 12th 2017, 14:56 inoas and then track it down from there
# Oct 12th 2017, 14:56 inoas the first thing you should do is figuring out where the error occured in the first place IMHO
# Oct 12th 2017, 14:56 neon1024 Er, it’ll be in the registry
# Oct 12th 2017, 14:56 inoas bad if loadModel doesn't throw an exception Q_Q
# Oct 12th 2017, 14:55 inoas :+1: right!
# Oct 12th 2017, 14:55 neon1024 Well `$foo = $this->loadModel('Foo'); $foo = $accidentallyFalse; $foo->save();`
# Oct 12th 2017, 14:55 jl.fmst ok first thing sfirst, how do i check if a table is loaded?
# Oct 12th 2017, 14:55 inoas table class not loaded would be on null "I believe"
# Oct 12th 2017, 14:54 jl.fmst @mail, :P i mean, sorry, i'm not actually using a ->save method