Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

[SOLVED] screenCust...
 
Notifications
Clear all

[SOLVED] screenCustomization : errors during installation

7 Posts
2 Users
0 Reactions
7,675 Views
(@sogeti)
Posts: 135
Active Member
Topic starter
 
[#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


 
Posted : 21 Mar 2018 14H18
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Which DB are you using ?
MySql or PortgreSql ?


 
Posted : 21 Mar 2018 14H59
babynus
(@babynus)
Posts: 14966
Main Contributor 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

 
Posted : 21 Mar 2018 15H04
(@sogeti)
Posts: 135
Active Member
Topic starter
 

We are using PostgreSql


 
Posted : 21 Mar 2018 15H31
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

OK
Did you try the patch as proposed below ?


 
Posted : 21 Mar 2018 15H47
(@sogeti)
Posts: 135
Active Member
Topic starter
 

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 ?


 
Posted : 21 Mar 2018 16H12
babynus
(@babynus)
Posts: 14966
Main Contributor 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.


 
Posted : 21 Mar 2018 16H22
Share:

Scroll to Top