-
Bug
-
Resolution: Fixed
-
Medium
-
5.12.13
-
1
-
Severity 2 - Major
-
Issue Summary
Sorting objects by reference attribute can cause inaccessible object view if the request cannot be completed within 1 minute due to the complexity of the data
Steps to Reproduce
- Create a parent object type and configure its inheritance with the following
- Create children object types
- Update parent attribute to add references to the children object types
- Generate 20k for each children
- With an object type that has more than 30k objects, and each object with a different referenced object, sort the objects by the reference attribute by clicking on the column name in the object type view.
Expected Results
The object list shows up sorted as expected
Actual Results
The object type becomes inaccessible as the object list doesn't load and the page becomes blank. It remains this way each time the same object type is accessed either via refreshing the page or navigating away and back.
While checking the developer tools, we see that the request is cancelled after 1 minute.
Workaround
Extend AJAX timeout temporarily so that the request can be completed and the object list becomes accessible again. Then, remove the sorting of the reference attribute by sorting another non-reference type attribute.
The script below shall be added to the announcement banner. This example extends the default AJAX timeout from 1 minute to 5 minutes.
<script type="module"> AJS.$.ajaxSetup({ timeout: 300000 // Milliseconds, wait for 5 minutes. }); </script>
Versions Tested
Please confirm all versions that have been tested for this issue, and indicate whether the tested version is affected or not affected, below:
Testing Requirements | Version | Affected Version |
---|---|---|
Customers Reported Version | 5.12.13 | Yes |
Most Recent Bug-Fix Release | ||
Previous Major Release | ||
Most Recent LTS | 5.12.13 | Yes |
Previous Supported LTS |
- links to
- mentioned in
-
Page Loading...