Skip to content

Problem with the duration, which is always 1 #113

Open

Description

Code of Conduct

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

Is there an existing issue for this?

  • I have searched the existing issues

GLPI Version

10.0.17

Plugin version

gantt 1.1.0

Bug description

In project and/or global views, project duration is always displayed as 1 day.

Even if the next one has many days defined, the duration is always displayed as 1.

Image

Relevant log output

Page URL

No response

Steps To reproduce

No response

Your GLPI setup information

No response

Anything else?

No response

Activity

  1. github-actions commented on May 21, 2025

    @github-actions
    Contributor

    There has been no activity on this issue for some time and therefore it is considered stale and will be closed automatically in 10 days.

    If this issue is related to a bug, please try to reproduce on latest release. If the problem persist, feel free to add a comment to revive this issue.
    If it is related to a new feature, please open a topic to discuss with community about this enhancement on suggestion website.

    You may also consider taking a subscription to get professionnal support or contact GLPI editor team directly.

  2. added
    bugSomething isn't working
    and removed on May 21, 2025
  3. cconard96 commented on May 21, 2025

    @cconard96
    Member

    I confirm. The gantt chart uses the duration of the tasks (default to 1 day) to determine the duration of the projects.

  4. LatinSuD commented on May 28, 2026

    @LatinSuD

    I thought this was a major issue, until I realized there is a workaround.
    The trick is to use the "end date" instead of the "duration" field. You can adjust end date visually by simply dragging the end of the task in the Gantt view. Moreover, if you have to edit the start date of the task it's better to do it visually by dragging it, as that will preserve the actual duration of the task.
    TBH I'm not really sure if "duration" field is used for any calculation or report, but it definitely doesn't affect how the Gantt is rendered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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