Open T0bbes opened 3 months ago
Hi @T0bbes ,
It seems that the reported behavior is caused by the issue reported by #4027 (as you mention). So I will add this issue to the internal issue created for #4027 (DINC0129133).
Best Regards, Nikolay Hristov UI5 GitHub Dispatcher
Any update regarding this issue, we are also facing the same problem.
Hi Guys,
We use the Document Upload to upload N documents in the "IncompleteItems" aggregation and process them in sequence. When a document has been edited, it should be deleted from the aggregation. As we have problems with the two aggregations "items" and "incompleteItems", we use both "remove" methods as a precaution.
All but the last item are deleted. This remains despite calling the two remove methods.
OpenUI5 version: 1.120.8
Browser/version (+device/version): Chrome Version 124.0.6367.61 (Official Build) (arm64)
Steps to reproduce the problem:
oUploadSet.removeIncompleteItem(oSelectedItem.item);
andoUploadSet.removeItem(oSelectedItem.item);
What is the expected result? Last item should be removed
What happens instead? Last item remains in the list
Any other information? (attach screenshot if possible) I think the reason is that the getItems only fetches the "completedItems" and does not find the incompletedItems. We set the items to completed, but that doesn't change anything, as the items still remain incomplete. see #4027