Forum

[SOLVED] screenCust...
 
Notifications
Retirer tout

[SOLVED] screenCustomization : errors during installation

7 Posts
2 Utilisateurs
0 Reactions
7,646 Vu
(@sogeti)
Posts: 135
Active Member
Début du sujet
 
[#5034]

Hi,

We have installed the screenCustomization plugin but have faced some errors during the installation. We are using ProjeQtor V6.4.4.

Here you can see the screenshot of the installation.

Do you know what these errors mean ?

Thank you in advance


 
Posté : 21 Mar PM 14:033
(@babynus)
Posts: 14952
Membre Admin
 

Which DB are you using ?
MySql or PortgreSql ?


 
Posté : 21 Mar PM 14:033
(@babynus)
Posts: 14952
Membre Admin
 

Here is a fix as a workaround :
In model/history.php add 1 line after line 79, this way :

  public static function store ($obj, $refType, $refId, $operation, $colName=null, $oldValue=null, $newValue=null) {
    
    if ($operation!='insert' and SqlElement::isCopyInProgress()) return true; // On copy, only save history for inserts, not for all following updates during same operation
    if (!$refType or !$refId) return true; // Workaround

 
Posté : 21 Mar PM 15:033
(@sogeti)
Posts: 135
Active Member
Début du sujet
 

We are using PostgreSql


 
Posté : 21 Mar PM 15:033
(@babynus)
Posts: 14952
Membre Admin
 

OK
Did you try the patch as proposed below ?


 
Posté : 21 Mar PM 15:033
(@sogeti)
Posts: 135
Active Member
Début du sujet
 

Thank you for your replies.

We are not able to try it right now but do you think there will be a bad impact to go on using the plugin knowing that we had these errors ?


 
Posté : 21 Mar PM 16:033
(@babynus)
Posts: 14952
Membre Admin
 

The most important error is that Plugin may not be registered.
Check table plugin : if line exist for screenCustomization, you won't have problems.
If there is no such line, some features won't work.


 
Posté : 21 Mar PM 16:033
Share:
Retour en haut