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

Run Batch scrips once when a correspondence is mixed with a CF change #257

Open
wants to merge 1 commit into
base: stable
Choose a base branch
from

Conversation

elacour
Copy link
Contributor

@elacour elacour commented Aug 10, 2018

On the Web UI, a response or comment on a ticket with a CF change at
the same times, makes TransactionBatch scrips run for the message/basic
fields transactions and another run for custom fields changes.

In Update.html, TicketObj was given to ProcessObjectCustomFieldUpdates
as $args{TicketObj} when this method works on $args{Object}. Without
Object, the method loads the ticket using the id present in customfields
ARGSRef, leading to a different object than the current batch one.

On the Web UI, a response or comment on a ticket with a CF change at
the same times, makes TransactionBatch scrips run for the message/basic
fields transactions and another run for custom fields changes.

In Update.html, TicketObj was given to ProcessObjectCustomFieldUpdates
as $args{TicketObj} when this method works on $args{Object}. Without
Object, the method loads the ticket using the id present in customfields
ARGSRef, leading to a different object than the current batch one.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant