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)
![SCR-20240422-nrrh](https://private-user-images.githubusercontent.com/4620859/324477500-21fe029a-48a7-423b-b41c-11e379b27011.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxMjc4MjcsIm5iZiI6MTcyNDEyNzUyNywicGF0aCI6Ii80NjIwODU5LzMyNDQ3NzUwMC0yMWZlMDI5YS00OGE3LTQyM2ItYjQxYy0xMWUzNzliMjcwMTEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjBUMDQxODQ3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MjRlYTMyMDliZDMwOTdiMTUyZTQyNGQxODA2OTA3YmNlMjMyOWJkYzY1Zjc3NGMxZDQ2MWE1NzVhYjllNTc4YiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.0d-neL92Yhbh1LFKOWwN0PWcta2If3tBUeWAepkDA78)
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: