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
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:
Upload multiple document as incomplete item
Remove items with oUploadSet.removeIncompleteItem(oSelectedItem.item); and oUploadSet.removeItem(oSelectedItem.item);
Last items remains
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
The text was updated successfully, but these errors were encountered:
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
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
The text was updated successfully, but these errors were encountered: