Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 6.0.0 Preview
-
Fix Version/s: 6.0.0 Preview
-
Component/s: API > JavaScript
-
Labels:None
-
Similar Issues:
Description
A lot of weird bugs come from the Expando API when it is not called from a regular portal thread (ie spawn a thread that does a job that has Expando in it) because it relies on CompanyThreadLocal.getCompanyId to namespace the tables, columns, rows, and values.
Modified the API to add company id explicitly.
A temporary workaround is to set the CompanyThreadLocal before calling an Expando API and then resetting it.
Deprecated a few of the very often used API calls to not take in a company id (default to the old way), but this will be removed in the future as it is inherently unsafe.
Issue Links
- relates
-
LPS-10870
Expando tests returning errors when using legacy expando api
-
