Giter VIP home page Giter VIP logo

Comments (8)

ddurieux avatar ddurieux commented on May 16, 2024

What do you mean with 'criteria' ?

from fusioninventory-for-glpi.

tabad avatar tabad commented on May 16, 2024

"Criteria": The different patterns or conditions to create a group of computers. For example,

  • Operating system contains ^Microsoft Windows AND Entity contains > HGUCR

from fusioninventory-for-glpi.

nbriche avatar nbriche commented on May 16, 2024

Static groups weren't affected, only dynamic groups. For me, it also happened when upgrading from 0.85+1.1 to 0.85+1.2.

from fusioninventory-for-glpi.

nbriche avatar nbriche commented on May 16, 2024

Up to 0.90+1.0, every update has triggered this bug for me. I'm preparing to update to 0.90+1.1 and will report here.
I've disabled every task, taken screenshots of every dynamic group I've cared enough to correct after being 'cleaned', and exported both glpi_plugin_fusioninventory_deploygroups and glpi_plugin_fusioninventory_deploygroups_dynamicdatas; although why the latter has 86 records for only 21 groups in the former, I have no idea.
I'm also attaching those exports, just in case (I'm just hoping I'm not forgetting a table; I really don't want to swim through the full backup).

glpi_plugin_fusioninventory_deploygroups-before_update_0.90+1.1.sql.txt
glpi_plugin_fusioninventory_deploygroups_dynamicdatas-before_update_0.90+1.1.sql.txt

from fusioninventory-for-glpi.

nbriche avatar nbriche commented on May 16, 2024

I've finally been able to upgrade to 1.2; the bug triggered again. Table glpi_plugin_fusioninventory_deploygroups_dynamicdatas still has 86 records, but the fields_array field has been changed to 'a:0:{}' for all.

Truncating the table and reimporting the data from my previous comment did work.

from fusioninventory-for-glpi.

C-Duv avatar C-Duv commented on May 16, 2024

Had the same issue when upgrading from v0.90+1.0 to v0.90+1.4 (on GLPI v0.90.5).
My dynamic groups lost their criterias thus their members.
My static groups lost their members.

from fusioninventory-for-glpi.

C-Duv avatar C-Duv commented on May 16, 2024

I've just noticed that, in my database backup of v0.90+1.0 (before upgrading to v0.90+1.4) I had multiple rows from glpi_plugin_fusioninventory_deploygroups_dynamicdatas whith the same value 0 for plugin_fusioninventory_deploygroups_id:

id fields_array can_update_group plugin_fusioninventory_deploygroups_id
1 a:0:{} 1 0
2 a:0:{} 1 0
3 a:0:{} 1 0
4 a:0:{} 1 0
5 a:0:{} 0 0

And I have no group of ID 0.

from fusioninventory-for-glpi.

nbriche avatar nbriche commented on May 16, 2024

Just upgraded from 1.3 to 1.4; same issue. This time I've cleaned up the superfluous "a:0:{}" records before updating, which left me with 15 actual records. All 15 were updated with "a:0:{}".

from fusioninventory-for-glpi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.