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

Hotfix tcc context param #6473

Closed

Conversation

TakeActionNow2019
Copy link
Contributor

@TakeActionNow2019 TakeActionNow2019 commented Apr 8, 2024

  • I have registered the PR changes.

Ⅰ. Describe what this PR did

fix the failure of @BusinessActionContextParamete annotation to set parameters into io.seata.rm.tcc.api.BusinessActionContext

Ⅱ. Does this pull request fix one issue?

fixes #6454

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

release: release for 2.0.0
@TakeActionNow2019 TakeActionNow2019 marked this pull request as ready for review April 8, 2024 17:15
@TakeActionNow2019 TakeActionNow2019 force-pushed the hotfix-tcc-context-param branch from e52f6f9 to 48e7896 Compare April 8, 2024 17:28
@xingfudeshi xingfudeshi added the first-time contributor first-time contributor label Apr 9, 2024
@xingfudeshi
Copy link
Member

Please create a PR based on the latest code branch "2. x", as the package name of the code has been changed from io. seata to org. apache. seata

Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add relevant test cases to prove that this modification is correct? For example, by writing test cases for TestAction, please refer to ActionInterceptorHandlerTest

TakeActionNow2019 added a commit to TakeActionNow2019/incubator-seata that referenced this pull request Apr 10, 2024
…to set parameters into io.seata.rm.tcc.api.BusinessActionContext. A interface instead of its implementation class should be passed to io.seata.integration.tx.api.interceptor.ActionInterceptorHandler#fetchActionRequestContext to get parameters noted by "BusinessActionContextParameter". apache#6473
TakeActionNow2019 added a commit to TakeActionNow2019/incubator-seata that referenced this pull request Apr 10, 2024
…to set parameters into io.seata.rm.tcc.api.BusinessActionContext. A interface instead of its implementation class should be passed to io.seata.integration.tx.api.interceptor.ActionInterceptorHandler#fetchActionRequestContext to get parameters noted by "@BusinessActionContextParameter". apache#6473
TakeActionNow2019 added a commit to TakeActionNow2019/incubator-seata that referenced this pull request Apr 10, 2024
…to set parameters into io.seata.rm.tcc.api.BusinessActionContext. A interface instead of its implementation class should be passed to io.seata.integration.tx.api.interceptor.ActionInterceptorHandler#fetchActionRequestContext to get parameters noted by "@BusinessActionContextParameter". apache#6473
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
first-time contributor first-time contributor
Projects
None yet
4 participants