pluginsGLPI / ocsinventoryng

Plugin ocsinventoryng for GLPI
GNU General Public License v2.0
68 stars 52 forks source link

New imported computer state after update 1.6.0 #236

Closed target74 closed 4 years ago

target74 commented 4 years ago

Dear Team,

In 1.6.0 update column states_id_default in glpi_plugin_ocsinventoryng_ocsservers has been dropped.

In fact, all new computers imported have no state ( states_id=0 ). What can we do to restore the old behaviour and set a default state in import runs?

Plugin version: 1.6.0 GLPI version: 9.4.5 Step to reproduce: install plugin1.6.0 / update to 1.6.0 and launch import. Thank you.

Roberto.

giudig commented 4 years ago

+1

dcec commented 4 years ago

Hi Team,

I have encountered the same problem after upgrade, there is another method for setting the status?

goltob commented 4 years ago

Hello

I also have the same problem. Maybe there will be a workaround in the meantime?

tsmr commented 4 years ago

You can use Rules for assets (/front/ruleasset.form.php)

Create a new rule : Criterias : Element - Computer / Automatic Inventory : Yes Action : Assign status

giudig commented 4 years ago

Hi @tsmr,

thanks a lot for the tip. It works for me.

Plugin version: 1.6.0 GLPI version: 9.4.5