-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove user deletion when we add more than one user #269
base: main
Are you sure you want to change the base?
Conversation
@@ -622,7 +622,6 @@ public static function item_add_user(Ticket_User $item, $type = CommonITILActor: | |||
$ticket->getFromDB($tickets_id); | |||
$groups_id = []; | |||
|
|||
self::removeAssignUsers($ticket, $users_id, $type); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the value of $users_id
? Does it properly include the two actors in your example?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it takes care of users 1 by 1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Simply removing the call to removeAssignUsers()
might cause regressions elsewhere.
As suggested by @stonebuzz, please perform a git bisect
, and tests would be welcome.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
apparently broken behaviour since version 2.9.8
Can you do a (from memory that part had been reworked #219) Mayve the related commit is involved |
e4c9744
to
08e2fe7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you adapt CHANGELOG.md
bd4c694
to
cf55101
Compare
cf55101
to
47eb3db
Compare
Checklist before requesting a review
Please delete options that are not relevant.
Description
When we try to add several technicians to a ticket with the escalation plugin enabled and the Remove technician(s) on escalation option active, only 1 is assigned.
Screenshots (if appropriate):