-
Bug
-
Resolution: Fixed
-
Low
-
No-Version
-
None
-
Severity 3 - Minor
-
Issue Summary
ActionContext instance is retrieved and then cached upon first method call of an ActionContextCompatManager instance. This is problematic as the ActionContext instance should be unique per thread and thus request. It is cached per instance of ActionContextCompatManager.
Affected version: confluence-compat-lib 1.5.3
Steps to Reproduce
- Construct an ActionContextCompatManager instance.
- Call instance method put("key", "someValue")
- Call instance method get("key") on a different thread/request
Expected Results
Returns null
Actual Results
Returns "someValue"
Workaround
Given the ActionContext is cached per instance of ActionContextCompatManager, constructing a new ActionContextCompatManager per request is a potential workaround.
- links to
- mentioned in
-
Page Loading...