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 2008-08-24 09:42:28

antonovich
Member
Registered: 2006-07-22
Posts: 8

glpi_enterprise listbox not filling in sgbd plugin

Hi,
I tried posting a ticket in French but my French is obviously not clear enough.
Here was the French (that has grammatical errors, I agree)

La gestion du fournisseur n'est pas bonne. On peut associer un fournisseur comme association standard (via une table d'asso, comme machine, imprimante, etc), mais la liste déroulante n'est pas remplie avec les fournisseurs, et c'est donc impossible d'associer à la base elle même (clé étrangère de la table glpi_plugin_sgbd). Le plugin appweb montre le comportement attendu.

So the key point to note is that the listbox "fournisseur" is NOT filled with fournisseurs in the main sgbd form. While there don't seem to be a lot of plugins that have a "fournisseur" referenced as a foreign key relation, the appweb plugin also has a foreign key from the main glpi_plugin_appweb table to glpi_enterprise. In the main form for THIS plugin, the listbox for  "fournisseurs" IS filled. Forget the rest.
Cheers
Anton

Offline

#2 2008-08-24 12:50:00

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: glpi_enterprise listbox not filling in sgbd plugin

It works for me : i see my suppliers in the listbox.

Which version of glpi and plugin ?

And you don't test it with modificate the form from a child entity  ?


Xavier Caillaud
Blog GLPI Infotel

Offline

#3 2008-08-24 15:25:38

antonovich
Member
Registered: 2006-07-22
Posts: 8

Re: glpi_enterprise listbox not filling in sgbd plugin

tsmr wrote:

It works for me : i see my suppliers in the listbox.

Which version of glpi and plugin ?

0.71.1 and 1.1.1

tsmr wrote:

And you don't test it with modificate the form from a child entity  ?

Ahora no comprendo yo...

Offline

#4 2008-08-24 16:49:27

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: glpi_enterprise listbox not filling in sgbd plugin

Can you add screenshots ?


Xavier Caillaud
Blog GLPI Infotel

Offline

#5 2008-08-25 09:30:15

antonovich
Member
Registered: 2006-07-22
Posts: 8

Re: glpi_enterprise listbox not filling in sgbd plugin

Ok, space, now I'm really confused. I can assure you I don't create tickets or post for no reason but the code fairies have just made it work. Sorry for the trouble...
It wasn't working though!..

Offline

#6 2008-08-25 10:39:55

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: glpi_enterprise listbox not filling in sgbd plugin

Cool tongue


Xavier Caillaud
Blog GLPI Infotel

Offline

Board footer

Powered by FluxBB