Skip to content
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

Do not present deleted actors to BR for Tickets #12422

Merged
merged 4 commits into from
Aug 22, 2022

Conversation

VladoTTX
Copy link
Contributor

Currently BR receive also actors from $this->fields not accounting deleted actors on $input["_actors"]
Present new values instead (without deleted actors), utilizing "_deleted" keys which come from transformActorsInput()

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #11671

Currently BR receive also actors from $this->fields not accounting deleted actors on $input["_actors"]
Present new values instead, utilizing "_deleted" keys which come from transformActorsInput()
src/Ticket.php Outdated Show resolved Hide resolved
src/Ticket.php Outdated Show resolved Hide resolved
Copy link
Contributor Author

@VladoTTX VladoTTX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update!
You have a typo on line 1150 should be array_key_exists

src/Ticket.php Outdated Show resolved Hide resolved
src/Ticket.php Outdated Show resolved Hide resolved
@trasher trasher dismissed cedric-anne’s stale review August 22, 2022 07:27

Changes has been done

@trasher trasher merged commit 48cbcde into glpi-project:10.0/bugfixes Aug 22, 2022
@VladoTTX VladoTTX deleted the patch-9 branch August 22, 2022 17:58
@cedric-anne cedric-anne added the bug label Sep 1, 2022
@cedric-anne cedric-anne added this to the 10.0.3 milestone Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants