ericferon / glpi-archimap

GLPI plugin for drawing architecture maps (based on draw.io)
GNU General Public License v2.0
19 stars 10 forks source link

BUG ? #8

Closed EC2311 closed 6 years ago

EC2311 commented 6 years ago

Hello

When linking a draw to a 'structure application' : some applications miss. I don't know why. because i list 2 of them and I don't see difference .

ericferon commented 6 years ago

Are they created in the same entity ? Your applications must be visible in the entity where you are working. Best regards,

EC2311 commented 6 years ago

Hello I think it's due to the joins which are done on stencils (glpi stencil in fact) As all information on application structures are not filled completelly...

left join glpi_plugin_archisw_swcomponenttypes on glpi_plugin_archisw_swcomponenttypes.id = glpi_plugin_archisw_swcomponents.plugin_archisw_swcomponenttypes_id join glpi_plugin_archisw_swcomponentstates on glpi_plugin_archisw_swcomponents.plugin_archisw_swcomponentstates_id = glpi_plugin_archisw_swcomponentstates.id left join glpi_manufacturers on glpi_plugin_archisw_swcomponents.manufacturers_id = glpi_manufacturers.id left join glpi_suppliers on glpi_plugin_archisw_swcomponents.suppliers_id = glpi_suppliers.id left join glpi_plugin_archisw_swcomponentdbs on glpi_plugin_archisw_swcomponentdbs.id = glpi_plugin_archisw_swcomponents.plugin_archisw_swcomponentdbs_id left join glpi_plugin_archisw_swcomponenttechnics on glpi_plugin_archisw_swcomponenttechnics.id = glpi_plugin_archisw_swcomponents.plugin_archisw_swcomponenttechnics_id "/>

        <customproperty name="autocompletejointcriteria" value=""/>

what are the conditions for the name of appli to be visible in the text in asset ?

ericferon commented 6 years ago

2 fields must be filled : the type and the status, because the appearance of the stencil changes according to these 2 fields. The applications are displayed if the string that you typed appears in the name, the description or the editor. Best regards,