Log message #4141560

# At Username Text
# May 16th, 16:51 Diego_ the debug before save shows the dirty fields, debug after the save there are no dirty fields for the main entity
# May 16th, 16:50 jeremyharris Nm, has to be committed to be success
# May 16th, 16:50 Diego_ commited
# May 16th, 16:50 jeremyharris In the sql log, is the transaction rolled back or committed?
# May 16th, 16:49 jeremyharris Diego I'm confused, you said recibo saves but the entity looks dirty still
# May 16th, 16:48 pmoraes my controller and views are baked FYI lol
# May 16th, 16:48 pmoraes yes I have
# May 16th, 16:48 Diego_ https://pastebin.com/RZ7nyQNs
# May 16th, 16:47 flavius you have the same structure like me, Flash -> flash -> 0
# May 16th, 16:47 pmoraes really strange my issue
# May 16th, 16:47 pmoraes lol
# May 16th, 16:47 pmoraes I'm setting up a new project to test it
# May 16th, 16:47 pmoraes I already did too
# May 16th, 16:46 pmoraes yes
# May 16th, 16:46 flavius debug there
# May 16th, 16:46 pmoraes when it redirect, It seems it lost the flash key. Then I just have Flash.0 instead of Flash.flash.0
# May 16th, 16:46 flavius https://github.com/cakephp/cakephp/blob/master/src/View/Helper/FlashHelper.php
# May 16th, 16:46 pmoraes there I see a strange thing
# May 16th, 16:45 pmoraes the core
# May 16th, 16:45 pmoraes yesterday I was debugging
# May 16th, 16:45 flavius beats me :slightly_smiling_face:
# May 16th, 16:45 pmoraes exactly
# May 16th, 16:45 flavius its just not displaying for some strange reason
# May 16th, 16:45 jeremyharris Ok after the success then
# May 16th, 16:45 pmoraes yes*
# May 16th, 16:45 pmoraes ues
# May 16th, 16:45 Diego_ it never go to the else part of save because there are no erros
# May 16th, 16:45 flavius well the session is there, you saw it in debug kit
# May 16th, 16:45 pmoraes if my form fail in the add view. it shows the message
# May 16th, 16:44 pmoraes just not working when I use redirect
# May 16th, 16:44 pmoraes the most strange is. Its working when I render the same view
# May 16th, 16:44 pmoraes I already did it.
# May 16th, 16:44 flavius maybe you have it twice? search your project for Flash->render(
# May 16th, 16:44 pmoraes File uploaded https://cakesf.slack.com/files/U6X99ATG8/FAS17D18X/captura_de_tela_2018-05-16_a__s_13.43.44.png / https://slack-files.com/T053DPNCM-FAS17D18X-d3fcec48e6
# May 16th, 16:44 flavius i have no clue then :slightly_smiling_face:
# May 16th, 16:43 pmoraes I have that
# May 16th, 16:43 pmoraes yes
# May 16th, 16:43 flavius ``` <?= $this->Flash->render(); ?> <?= $this->fetch('content') ?> ```
# May 16th, 16:43 pmoraes totally strange
# May 16th, 16:43 pmoraes it is not showing the flash message when I use the redirect method
# May 16th, 16:42 pmoraes but if i add the flash message in the index action, just for text, it shows