Skip to content

GLPI 11 : pending feature cleared when applying a follow-up template without a pending reason #21164

@flegastelois

Description

@flegastelois

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

Version

11.0/bugfixes

Bug description

When adding a follow-up:

  • If the ticket is set to Pending with a reason,
  • Then a follow-up template is applied without a pending reason,
  • The pending status and reason are cleared (probably because the template has no value for this field).

The natural workflow with the mouse is:

  1. Click the Answer button,
  2. Set the ticket to Pending,
  3. Choose a pending reason,
  4. Finally select a follow-up template.

The fields are typically positioned close to each other (so that it works for users who read left-to-right or right-to-left), so users tend to complete them in order of proximity before moving to the template selection.

Currently in GLPI 11, steps 2 and 3 are lost when applying a template without a pending reason, which breaks this intuitive sequence.

Relevant log output

Page URL

https://glpi11bf.local/front/ticket.form.php?id=1

Steps To reproduce

No response

Your GLPI setup information

No response

Anything else?

No response

Metadata

Metadata

Assignees

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions