Log message #4046023

# At Username Text
# Jun 29th 2017, 06:00 savant you can do something like
# Jun 29th 2017, 06:00 savant *afterSave
# Jun 29th 2017, 06:00 savant in your afterSAVE
# Jun 29th 2017, 05:59 savant holdon
# Jun 29th 2017, 05:59 Sebollson ;/
# Jun 29th 2017, 05:59 Sebollson in general afterSave result is neglected
# Jun 29th 2017, 05:59 Sebollson hmm
# Jun 29th 2017, 05:58 savant i think https://github.com/cakephp/cakephp/blob/master/src/ORM/Table.php#L1827
# Jun 29th 2017, 05:58 Sebollson I got AuditBehavior attached to table
# Jun 29th 2017, 05:58 Sebollson now something seems not right
# Jun 29th 2017, 05:58 savant ah you’re right
# Jun 29th 2017, 05:57 Sebollson shouldnt it be in afterSaveCommit ?
# Jun 29th 2017, 05:57 savant isnt the transaction already committed by the time you get to aftersave?
# Jun 29th 2017, 05:56 Sebollson Is there a away to rollback transaction from behavior on afterSave event ?
# Jun 29th 2017, 05:56 Sebollson Hi
# Jun 29th 2017, 05:52 savant its invite only but works well
# Jun 29th 2017, 05:52 savant i use an app called screenhero
# Jun 29th 2017, 05:52 savant since I think all of that should work
# Jun 29th 2017, 05:52 savant if you want to, you can send me your email and I can “remote-control” your computer for you to figure out whats going on
# Jun 29th 2017, 05:52 aproapedelune https://gist.github.com/anonymous/b7c6d14dab380daa68fb11400613ec67 and this is admin.ctp
# Jun 29th 2017, 05:51 aproapedelune https://gist.github.com/anonymous/a3cbc5c9fd513fffde8980385fa2c428
# Jun 29th 2017, 05:50 aproapedelune login.ctp?
# Jun 29th 2017, 05:49 savant can you gist your template?
# Jun 29th 2017, 05:48 aproapedelune it looks like it s loading but then the page remains the same
# Jun 29th 2017, 05:47 savant What happens when you submit your login form?
# Jun 29th 2017, 05:47 savant ignore that first question
# Jun 29th 2017, 05:47 aproapedelune where should i call submit?
# Jun 29th 2017, 05:45 savant err when you submit the login form?
# Jun 29th 2017, 05:44 savant what happens when you call submit?
# Jun 29th 2017, 05:44 aproapedelune public function beforeFilter(Event $event){ $this->Auth->allow(); }
# Jun 29th 2017, 05:44 aproapedelune yes
# Jun 29th 2017, 05:30 savant Does your AppController have a beforeFilter() method?
# Jun 29th 2017, 05:30 savant anyhow
# Jun 29th 2017, 05:30 savant https://gist.github.com/anonymous/ca57e8b0bf72cb3da487df0d7da0fc88
# Jun 29th 2017, 05:30 savant just the browser url is fine, doesnt need to be the embed
# Jun 29th 2017, 05:30 aproapedelune script src="https://gist.github.com/anonymous/ca57e8b0bf72cb3da487df0d7da0fc88.js"></script I didn t know to create the authorized login, so I m trying to make the lame app I made last year to work again, because I wanted to have at least something that works.. I m in a huge rush
# Jun 29th 2017, 05:26 rchavik ah, sorry i misread
# Jun 29th 2017, 05:24 savant can you gist your controller?
# Jun 29th 2017, 05:24 aproapedelune the code is in the controller
# Jun 29th 2017, 05:20 rchavik you'd need to that type of code in controllers, normally views are for presentation only
# Jun 29th 2017, 05:19 rchavik aproddelune i don't think you can redirect in views