Hello!
Sorry, hadn't notice that the first line of submit was the mask 🙈
So, I'm having a problem that randomly, the server receives two postbacks for the same form with the same data.
I'm not able to reproduce it on my machine, so it's a bit hard to debug it. Maybe it's some connection issue? maybe her mouse is broken and generating multiple events?
I add some ?DEBUG macros on the postback and the problem shows up like this:
2019-11-28 20:48:20.512 [info] <0.30748.45> DEBUG: m_sisbv_cad_clientes:530 {insert,[{status,1},{acl_cad_group,"acl_user_group_recepcao"},{cpf,[]},{title,"PATRICIA MARTINS "},{data_nascimento,[]},{whatsapp,"XXXXXXXXXX"},{email,"XXXXXXXXX"},{renda_familiar,0.0},{estado_civil,"1"},{conjuge_title,[]},{conjuge_data_nascimento,[]},{conjuge_whatsapp,[]},{origem,2},{evento_marketing_id,"11202"},{observacao,"captação marketing, MCMV XXE"},{is_published,true},{imob_origem,2},{horario_atendimento_id,undefined}]}
2019-11-28 20:48:21.015 [info] <0.31135.45> DEBUG: m_sisbv_cad_clientes:530 {insert,[{status,1},{acl_cad_group,"acl_user_group_recepcao"},{cpf,[]},{title,"PATRICIA MARTINS "},{data_nascimento,[]},{whatsapp,"XXXXXXXXXX"},{email,"XXXXXXXXX"},{renda_familiar,0.0},{estado_civil,"1"},{conjuge_title,[]},{conjuge_data_nascimento,[]},{conjuge_whatsapp,[]},{origem,2},{evento_marketing_id,"11202"},{observacao,"captação marketing, MCMV XXE"},{is_published,true},{imob_origem,2},{horario_atendimento_id,undefined}]}
2019-11-28 19:59:42.254 [info] <0.1358.45> DEBUG: m_sisbv_cad_clientes:530 {insert,[{status,1},{acl_cad_group,"acl_user_group_recepcao"},{cpf,[]},{title,"DANIELI CARDOSO DA SILVA "},{data_nascimento,[]},{whatsapp,"XXXXXXXXXX"},{email,"XXXXXXXXXX"},{renda_familiar,0.0},{estado_civil,"1"},{conjuge_title,[]},{conjuge_data_nascimento,[]},{conjuge_whatsapp,[]},{origem,2},{evento_marketing_id,"11202"},{observacao,"captação marketing, MCMV XXE"},{is_published,true},{imob_origem,1},{horario_atendimento_id,undefined}]}
2019-11-28 19:59:42.293 [info] <0.1358.45> DEBUG: m_sisbv_cad_clientes:530 {insert,[{status,1},{acl_cad_group,"acl_user_group_recepcao"},{cpf,[]},{title,"DANIELI CARDOSO DA SILVA "},{data_nascimento,[]},{whatsapp,"XXXXXXXXXX"},{email,"XXXXXXXXXX"},{renda_familiar,0.0},{estado_civil,"1"},{conjuge_title,[]},{conjuge_data_nascimento,[]},{conjuge_whatsapp,[]},{origem,2},{evento_marketing_id,"11202"},{observacao,"captação marketing, MCMV XXE"},{is_published,true},{imob_origem,1},{horario_atendimento_id,undefined}]}
2019-11-28 19:15:36.295 [info] <0.7044.44> DEBUG: m_sisbv_cad_clientes:530 {insert,[{status,1},{acl_cad_group,"acl_user_group_recepcao"},{cpf,[]},{title,"GISELE CAMARGO "},{data_nascimento,[]},{whatsapp,"XXXXXXXXXX"},{email,"XXXXXXXXXX"},{renda_familiar,0.0},{estado_civil,"1"},{conjuge_title,[]},{conjuge_data_nascimento,[]},{conjuge_whatsapp,[]},{origem,2},{evento_marketing_id,"11202"},{observacao,"captação marketing, MCMV XXE"},{is_published,true},{imob_origem,1},{horario_atendimento_id,undefined}]}
2019-11-28 19:15:36.351 [info] <0.7044.44> DEBUG: m_sisbv_cad_clientes:530 {insert,[{status,1},{acl_cad_group,"acl_user_group_recepcao"},{cpf,[]},{title,"GISELE CAMARGO "},{data_nascimento,[]},{whatsapp,"XXXXXXXXXX"},{email,"XXXXXXXXXX"},{renda_familiar,0.0},{estado_civil,"1"},{conjuge_title,[]},{conjuge_data_nascimento,[]},{conjuge_whatsapp,[]},{origem,2},{evento_marketing_id,"11202"},{observacao,"captação marketing, MCMV XXE"},{is_published,true},{imob_origem,1},{horario_atendimento_id,undefined}]}
2019-11-28 19:15:36.413 [info] <0.7044.44> DEBUG: m_sisbv_cad_clientes:530 {insert,[{status,1},{acl_cad_group,"acl_user_group_recepcao"},{cpf,[]},{title,"GISELE CAMARGO "},{data_nascimento,[]},{whatsapp,"XXXXXXXXXX"},{email,"XXXXXXXXXX"},{renda_familiar,0.0},{estado_civil,"1"},{conjuge_title,[]},{conjuge_data_nascimento,[]},{conjuge_whatsapp,[]},{origem,2},{evento_marketing_id,"11202"},{observacao,"captação marketing, MCMV XXE"},{is_published,true},{imob_origem,1},{horario_atendimento_id,undefined}]}
Any hints on what can be happening? Or how I should debug this issue?
--
Álvaro Gianni Pagliari
alvaropag [at] gmail [dot] com