You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2011-12-07 14:51:29

bca67
Member
Registered: 2009-11-05
Posts: 21

Plugin Order 1.5.1

Hi

I've upgraded the GLPI 0.80.0 to 0.80.5, (windows 2003 server Ocsng) all done without problem.

After I've upgrated  the plugin Order version 1.3.0 to 1.5.1 this upgraded as failed:

[log]
07-12-2011 13:38 [6@W-INVENTOR-SRV0]
*** MySQL query error :
***
SQL: INSERT INTO glpi_displaypreferences
                           VALUES (NULL,\'PluginOrderReference\',\'4\',\'5\',\'0\');
Error: Duplicate entry '0-PluginOrderReference-4' for key 'unicity'
Backtrace :
C:\WebServices\xampp\htdocs\glpi\plugins\order\inc\reference.class.php :853        DBmysql->query()
 :        PluginOrderReference::install()
C:\WebServices\xampp\htdocs\glpi\plugins\order\hook.php :63        call_user_func()
C:\WebServices\xampp\htdocs\glpi\inc\plugin.class.php :536        plugin_order_install()
C:\WebServices\xampp\htdocs\glpi\front\plugin.php :56        Plugin->install()
C:/WebServices/xampp/htdocs/glpi/front/plugin.php

at screen:

Plugin installation or upgrade 
Cambio della struttura del database - glpi_plugin_order_references ( 16 Sec.)

Duplicate entry '0-PluginOrderReference-4' for key 'unicity'

Have you any idea ?

Thanks all...

(i've posted the same problem in Francais Plugin problem section)

Offline

#2 2011-12-07 20:22:56

uninventive
Member
Registered: 2011-12-06
Posts: 13

Re: Plugin Order 1.5.1

Checking their Developer area: https://forge.indepnet.net/projects/show/order/, it looks like they fixed a bug for SQL Reference errors, which might include yours.  When 1.5.2 comes out in a new release, I do not know.  (There's another bug they appear to be working on for the same version, if that gets solved too, it may be sooner than later.)

Offline

#3 2011-12-08 13:04:49

wawa
GLPI-DEV
From: Montpellier / France
Registered: 2006-07-03
Posts: 6,019
Website

Re: Plugin Order 1.5.1

yes it was already fixed
I've got some other fix to do before releasing a new minor version

Offline

#4 2012-05-23 10:36:28

arnault38
Member
From: Grenoble - FRANCE
Registered: 2009-02-06
Posts: 79

Re: Plugin Order 1.5.1

Hi,

I've the same problem to upgrade the Glpi plugin order 1.4.0 to 1.5.2 :

Modification du schéma - glpi_plugin_order_references ( 5 Sec(s))
Duplicate entry '0-PluginOrderReference-5' for key 'unicity'

Do i upgrade the plugin 1.4.0 to 1.5.0 and 1.5.1 and 1.5.2 ?

Thanks for your help.


Glpi : 9.1.2 (W2k12 Server - IIS)
OCS Inventory : 2.1.2, Agent 2.1.1.1 / )
120 ordinateurs, 25 imprimantes

Offline

Board footer

Powered by FluxBB