Skip to content

The ‘Actions’ feature under Assets > Computers allows licenses to be added improperly #23963

@lucaslevi-consultor-glpi

Description

Code of Conduct

  • I agree to follow this project's Code of Conduct

Disable plugins

  • I reproduce the issue with all plugins disabled

Is there an existing issue for this?

  • I have searched the existing issues

Version

10.0.24

Bug description

While testing the license creation process, I noticed the following:

When you create a license and set its connection limit, if you add computers one at a time within the license itself > Items, once the limit is reached, the Add button disappears so the user can’t add any more.

But if you select the list of all active computers, click Actions > Add License, and choose the same license, it allows you to add computers, even if the license is already close to its limit.

I believe this must be a bug; it should either block the addition because the limit has been exceeded or allow adding only a portion from the list (if there are still available license slots).

Relevant log output

Page URL

No response

Steps To reproduce

No response

Your GLPI setup information

Image Image Image

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions