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

fix: task context is being sent empty #2871

Merged
merged 6 commits into from
Sep 24, 2024

Conversation

luanluciano93
Copy link
Contributor

@luanluciano93 luanluciano93 commented Sep 2, 2024

Description

Solve the problem where the message "[Task::Task] is sent: the task context cannot be empty!" because 'DispatcherContext::addEvent' and 'DispatcherContext::tryAddEvent' methods are not receiving the "context" parameter.

thank you @beats-dh

Behaviour

Actual

error on server log: "[Task::Task] is sent: the task context cannot be empty!"

Expected

don't give error

Fixes #2709

Test Configuration:

  • Server Version: Canary Main
  • Client: 13.40
  • Operating System: Windows 11

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code

@majestyotbr
Copy link
Contributor

Use the pull request template and describe your changes.

@helenarubra
Copy link

Does this pull somehow bring any optimization to addEvent?

@beats-dh
Copy link
Collaborator

beats-dh commented Sep 2, 2024

Does this pull somehow bring any optimization to addEvent?

No, it only resolves some false positive errors.

@majestyotbr majestyotbr mentioned this pull request Sep 12, 2024
5 tasks
@majestyotbr majestyotbr linked an issue Sep 12, 2024 that may be closed by this pull request
5 tasks
@dudantas dudantas merged commit a444901 into opentibiabr:main Sep 24, 2024
22 checks passed
@luanluciano93 luanluciano93 deleted the fix-task-context branch September 25, 2024 00:23
PrimosOT pushed a commit to PrimosOT/canary that referenced this pull request Sep 25, 2024
Solve the problem where the message "[Task::Task] is sent: the task
context cannot be empty!" because 'DispatcherContext::addEvent' and
'DispatcherContext::tryAddEvent' methods are not receiving the "context"
parameter.
s2leandro155 pushed a commit to s2leandro155/rzyns that referenced this pull request Sep 26, 2024
Solve the problem where the message "[Task::Task] is sent: the task
context cannot be empty!" because 'DispatcherContext::addEvent' and
'DispatcherContext::tryAddEvent' methods are not receiving the "context"
parameter.
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.

Task error console Console: Error Message
7 participants