Prevent contradictory solution validation when approving a ticket solution #350
Replies: 1 comment
|
Hello everyone, Since I opened this discussion, I decided to go ahead and implement a definitive solution for this usability issue. I have developed a custom plugin called Solution Approval Guard. The plugin introduces exactly the configurable layer I mentioned in my original post. Administrators can now access a configuration panel and choose between three levels of strictness when a user tries to approve a solution while leaving a comment:
It is fully compatible with GLPI 11, correctly intercepting both the new Timeline AJAX requests ( If anyone else is facing this same problem in their production environment, the plugin is open-source and available here: Feedback, bug reports, and contributions are more than welcome! I hope this helps other organizations maintain the integrity of their ticket closures. |
Uh oh!
There was an error while loading. Please reload this page.
Hello GLPI community,
We have encountered a recurring situation in our production environment that appears to be more related to usability than to a technical malfunction.
Current scenario
When a technician proposes a solution, the requester can either approve or reject it.
However, some users write comments indicating that the issue is not fully resolved and still click Approve solution.
Example:
The user then clicks Approve solution instead of Reject solution.
As a result:
Why this is problematic
Technically, GLPI behaves correctly because it follows the selected action.
From a usability perspective, however, there is a contradiction between:
In our environment, this has happened multiple times and required manual intervention.
Possible approaches
This discussion is not intended to request a specific implementation, but rather to explore possible improvements.
Examples:
Local workaround
To mitigate the issue, we implemented a local customization that blocks solution approval when the comment field contains text.
This approach has worked well in our environment because it forces users to either:
However, we understand that this behavior may not be suitable for all organizations, which is why we believe a configurable solution could be more appropriate.
Has anyone else experienced similar situations?
We would appreciate feedback from the community regarding possible approaches and whether this could be considered a usability improvement for future versions of GLPI.
All reactions