intuit / intuit/QuickBooks-V3-Java-SDK

GenerateQuery is not suitable for multi-threaded environments

Open
#223 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
88
Forks
158
PR merge metrics
No merged PRs in 30d

Description

GenerateQuery saves QueryMessage in a static variable inside. If multiple threads are generating queries at the same time, parts of those queries get mixed up and eventually fail to execute. I think either message should be wrapped into ThreadLocal, or GenerateQuery should create and return a wrapper object containing the message

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.