Skip to content

Glpiinventory - cleanondemand Task not working as expected #541

@Phil-ipp1

Description

@Phil-ipp1

Describe the bug

The [deploy on demand]- Tasks are not correctly cleaned.
The settings are created so that "old" on demand jobs shall be cleaned on a daily basis:
image

The task logs are deleted so that they are not shown as "succesfull" but they are going to be re-prepared. So the installation will be re-triggered and end up in an loop.
image

The problem is that the PCs are not removed as an actor from the job-configuration.
image

To reproduce

  1. Start deployment job
  2. Wait till on demand job is "deleted" by task
  3. Re-run deployment via GLPI Agent

Expected behavior

I would expect that the Actor is removed from the ondemand job as well so that the installation does not restart.

Operating system

Linux

GLPI Agent version

Other (See additional context below)

GLPI version

Other (See additional context below)

GLPIInventory plugin

1.3.5

Additional context

GLPI Agent 1.9
GLPI: 10.0.15

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions