-
Notifications
You must be signed in to change notification settings - Fork 148
Global Rules does not work for Dynamic Groups #3101
Comments
Seems a bug yes, will check it in couple of days, finish make tests up before ;) |
Hello, I did upgrade the GLPI to version 9.5.4 and FusionInventory for GLPI plug-in from version 9.5.0+1.0 to 9.5.0+2.0. I did a clean install from FusionInventory for GLPI plug-in, but the issue still persists. I did upgrade this issue description to describe my updated environment. |
Same issue for me with GLPI 9.5.4 & FusionInventory 9.5.0+1.0. |
But unable to reproduce this problem, it's worked nicely on my computer :( |
it;s normal you don't have the 'Software' in the line 3 of the search (it's empty) ? |
Can you paste the plugins you use? |
yes but i tried to disable all plugins and same problem. Plugins list
|
disabled all + logout + login GLPI ? |
I will read the code, perhaps I could sse something, but without have the problem, it's really difficult |
The only plug-ins that I could find in common with @ppenin is "fields", "behaviors", "pdf", "mreporting" and "reports". @ddurieux, I believe the issue is happening because of some of these plug-ins or because some code change into GLPI 9.5.4. You may reproduce this issue by creating a test GLPI environment with GLPI 9.5.3 and upgrading it with those plug-ins enabled to GLPI 9.5.4. |
Ok, I'm on 9.5.3, I will test with 9.5.4 ;) |
We didn't update from 9.5.2 to 9.5.3 but directly to 9.5.4 because of a mailgate issue only solved in 9.5.4 |
I had this issue into the Global Rules field into 9.5.3, I did upgraded to GLPI 9.5.4 in hope to fix this issue, but it get even worse. Anyway, hopes that @ddurieux can reproduce this issue, somehow I'm happy that I'm not the only one having this issue, so it can motivates the main contributors of FusionInventory team take a look at this issue. |
It's the case, I took a look at this issue ^_^ |
So many parts broken :( |
Good news, I have the problem in 9.5.4 |
Seems found a solution, but need to test the criteria in the deploygroup and in the task with recalculation of the item of group. |
Hello @ddurieux, thank you for your hard work! |
Ok, you can try and test with this fix when I will sleep: ddurieux@bb5cb9d |
Yes, I saw the errors too. |
I have a hack for dynamic and seems working but not for static group. |
Hello @ddurieux,
I believe it's happening because there's no "FROM |
Yes I know, there is many problem yet to fix about the search engine. |
I'm near have a stable and useful solution, need finish and test it |
It's great! Please let us know if you need testers =) |
Hello @ddurieux, we believe in and are confident. We know we know it's hard work. |
…or version' og glpi 9.5.4. closes fusioninventory#3101
I have pushed on a branch, you can test it: ddurieux@271de5d I will do some manual tests before merge, like recalculate groups in tasks to be sure this part is ok (because many others parts are too broken). |
You mean the same persons have push code 'major changes' in a minor version? no thank you, I prefer will fix myself |
We agree with 9.5.4 wich looks like 9.6.0 ... |
If you are in 9.5.4, yes, because have security fix. I think the others problems will be fixed this week end and I plan to release begin of next week |
It's because you not update with the rigth procedure, follow the link in the warning |
it's ok now. Never did so to update FI plugin. I will remember for next time |
…or version' og glpi 9.5.4. closes #3101
I have tested tasks, and it's ok ;) |
@ddurieux, one thing that I forgot to say is that seems that the dropdown text was changed from "Add" to another one, so now this string isn't translated anymore. I believe that's now is necessary to update the translation and generate a new glpi.pot file, but I believe it's a standard process when releasing a new version of the plugin. |
Have you at least considered that the disappearance of elements available in global rules related to classes extending an object from the core of GLPI could be an unintended side effect? See glpi-project/glpi#8833 for the fix. Regards |
The problem is that you have modified the behavior of a function and deprecated another in a 'minor version' instead do it in a major version. The mismanagement of the code not really from my side.... |
Hello @cedric-anne and @ddurieux, I did tried to undo the changes from #3121 and applied the changes from glpi-project/glpi#8833 instead but it didn't work. I had to reapply the #3121 to make it work. I'd noticed that this problem started when upgrading to GLPI 9.5.3 and FusionInventory for GLPI 9.5.0+1.0. |
GLPI version: 9.5.4
FusionInventory for GLPI version: FusionInventory 9.5.0+2.0
When trying to create a Collect task following the official instructions (https://fusioninventory.org/documentation/tasks/collect.html), the following happens.
Expectative:
Reality:
AFTER upgrading FusionInventory for GLPI plug-in from 9.5.0+1.0 to 9.5.0+2.0, only the Network Port menu is shown when selecting Global Rules:
BEFORE upgrading FusionInventory for GLPI plug-in from 9.5.0+1.0 to 9.5.0+2.0, all Global Rules submenus were shown, including Software, but no dropdown was being shown, as screenshot below:
No error is thrown into any logs into
<GLPI_ROOT>/files/_log
folder and into Apacheerrors.log
andaccess.log
.The text was updated successfully, but these errors were encountered: