Announcement

Collapse
No announcement yet.

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

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

    $this->cg_misuragiunzione = $old_value_cg_misuragiunzione;
    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 !!!!


  • #2
    Could be interesting how this fails to you, in wich app, and so on...because it's the first time I see it.
    /Giuseppe

    Professional Scriptcase Services
    Some Customers opinions

    Comment


    • #3
      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

      Comment


      • #4
        Originally posted by VDPVince View Post
        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.
        /Giuseppe

        Professional Scriptcase Services
        Some Customers opinions

        Comment


        • #5
          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.

          Comment


          • #6
            aslo the error incoming on running form is

            Parse error: syntax error, unexpected ';' in C:\Program Files (x86)\NetMake\v8\wwwroot\scriptcase\app\morinat\fo rm_dbo_ClientiDestNastro\form_dbo_ClientiDestNastr o_apl.php on line 3370

            Comment


            • #7
              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 !!!!!!!!

              The wrong function created by sc is :

              function ValidateField_multiimage(&$Campos_Crit, &$Campos_Falta, &$Campos_Erros)
              Last edited by VDPVince; 05-24-2016, 10:18 AM. Reason: more info

              Comment


              • #8
                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.

                $this->dtmInstructed_hora = $old_value_dtmInstructed_hora = ;

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


                Comment

                Working...
                X