Skip to content

Automatic follow-up is not added when pending reason frequency is set only on task or follow-up #23775

@serviceticst

Description

@serviceticst

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

When a new pending reason is created without configuring the automatic follow-up frequency, and this pending reason is later used in a new task or follow-up where the frequency is manually set to "every day", the automatic follow-up is not added to the ticket. The automatic follow-up is only added when the pending reason was originally created with the automatic follow-up frequency already configured.

Expected result: the automatic follow-up should be added to the ticket even when the frequency is manually configured in the task or follow-up, without requiring the pending reason to have this frequency predefined.

Relevant log output

Page URL

No response

Steps To reproduce

  1. Create a new pending reason without configuring the automatic follow-up frequency.
  2. Create a new task or follow-up in GLPI and select this pending reason.
  3. Manually set the automatic follow-up frequency to "every day".
  4. Save the task or follow-up.
  5. Check the ticket and verify that the automatic follow-up is not added.
  6. Create another pending reason, this time with the automatic follow-up frequency already configured.
  7. Use this new pending reason in a task or follow-up and save it.
  8. Check the ticket and verify that the automatic follow-up is added.

Your GLPI setup information

No response

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