Wrong creation code !!!!! Is present also on 8.1.041 as 8.1.040 BUG BUG BUG BUG

No correction is done for a problem of erroneus creation code un date and time update as you can see

[SIZE=3][COLOR=#007700] $this->cg_misuragiunzione = $old_value_cg_misuragiunzione;
[COLOR=#000000]3367| $this->cg_misurainclinazione = $old_value_cg_misurainclinazione;
3368| $this->timeupd = $old_value_timeupd;
3369| $this->timeupd_hora = $old_value_timeupd_hora = ; <<<<<<<<<<<<<<<< !!! >>>>>>>>>>>>>>>>>>>>
3370| $rs_mu = $this->Db->Execute($comando_multiul);
3371| if ($rs_mu === false && !$rs_mu->EOF)
3372| {
3373| $this->Erro->mensagem (FILE, LINE, ‘banco’, $this->Ini->Nm_lang[‘lang_errm_inst’], $this->Db->ErrorMsg());
3374| $this->NM_rollback_db();
3375| if ($this->NM_ajax_flag)
3376| {
3377| form_dbo_ClientiDestNastro_pack_ajax_response();
3378| }
3379| exit;
3380| }
3381| $bMU_hasFiles = $rs_mu->fields[0] > 0;
3382| $rs_mu->Close();

The support team MUST see the forum !!![/COLOR][/COLOR][/SIZE]

Could be interesting how this fails to you, in wich app, and so on…because it’s the first time I see it.

Ok Giu let me know how do you need to understand this problem, that is introduced by 8.1.040 and 8.1.041 on other installation at 8.1.039 all works fine
is a form on mssql server if you want i can send the app and table creation

It’s not for me. Just to clarify the problem for the team to look into. I mean, You are showing some generated code. But where is this code from? app is failing or you just saw this investigating the code?
I have forms, grids and so on, and any of them fails with a syntax error, for this reason I ask wich app is failing to you.

Ok i try to recreate a same new form to see if the problem is on handling the old form and if new work, many time we have done this to solve same problems after
update of sc.

aslo the error incoming on running form is

Parse error: syntax error, unexpected ‘;’ in C:\Program Files (x86)\NetMake\v8\wwwroot\scriptcase\app\morinat\form_dbo_ClientiDestNastro\form_dbo_ClientiDestNastro_apl.php on line 3370

After many proofs i have find the erroneus problem :
if on form there is a field for multiupload image file the problem appear infact removing the field on fom for multiupload file all work fine

Naturaly in deply environnement if i remove the = sign before ; the app work fine !!!:mad::mad:

The wrong function created by sc is :

function ValidateField_multiimage(&$Campos_Crit, &$Campos_Falta, &$Campos_Erros)

I can confirm this. An app which was working fine before has now, since v8.1.040, started generating PHP code with an extra = just before the ;

​It’s on a datetime field, just as for VDPVince.

[SIZE=2] $this[/SIZE][SIZE=2]->[/SIZE][SIZE=2]dtmInstructed_hora [/SIZE][SIZE=2]= [/SIZE][SIZE=2]$old_value_dtmInstructed_hora [/SIZE][SIZE=2]= ;[/SIZE]

At present, every time we generate, we have to find the line and remove the extra = before deploying.