You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See that the service didn't return all entities but appends the property "__next" for the client to get the next batch of entities.
Open the minimal example. The sample has the defaultOperationMode: "Client".
Observe that the list binding doesn't load this many items.
What is the expected result?
Even with the operation mode "Client", the ODataListBinding (V2 as well as V4*) checks whether there are more entities to fetch ("__next" / "@odata.nextLink").
* Currently doesn't support the "Client" operation mode.
What happens instead?
Client mode ignores server-side paging.
Any other information? (attach screenshot if possible)
Once the line defaultOperationMode: "Client" is removed, you can see that the list binding fetches more and more entities.
However, in the client operation mode, the bLengthFinal is immediately set to true without checking if there is "__next".
Hello boghyon,
Thank you for sharing this finding. I've created an internal incident 1870453492. The status of the issue will be updated here in GitHub.
Hi boghyon, thanks for your input. As has been commented, we recommend the "server" mode for such scenarios and don't expect to enhance the "client" mode for server-side paging.
URL (minimal example if possible)
https://jsbin.com/tomajef/edit?js,output
Steps to reproduce the problem:
"__next"
for the client to get the next batch of entities.defaultOperationMode: "Client"
.What is the expected result?
Even with the operation mode
"Client"
, the ODataListBinding (V2 as well as V4*) checks whether there are more entities to fetch ("__next"
/"@odata.nextLink"
).* Currently doesn't support the "Client" operation mode.
What happens instead?
Client mode ignores server-side paging.
Any other information? (attach screenshot if possible)
Once the line
defaultOperationMode: "Client"
is removed, you can see that the list binding fetches more and more entities.However, in the client operation mode, the
bLengthFinal
is immediately set totrue
without checking if there is"__next"
.openui5/src/sap.ui.core/src/sap/ui/model/odata/v2/ODataListBinding.js
Lines 615 to 627 in 00a454e
The text was updated successfully, but these errors were encountered: