Skip to content

Show error message when adding invalid time slot #528

@eduardomozart

Description

@eduardomozart

Describe the bug

Plug-in allows invalid timeslot with non-error message shown to the user.

To reproduce

When adding a timeslot with same day and duration (e.g. begin: Sunday 00:00 - end: Sunday 00:00), the page refresh but no time slot is added (as expected).

Expected behavior

Shows a message to the user stating that the time slot added is invalid.

Operating system

Windows

GLPI Agent version

Other (See additional context below)

GLPI version

Other (See additional context below)

GLPIInventory plugin

1.3.5

Additional context

GLPI Agent version: 1.9.0
GLPI version: 10.0.16

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