Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DM-3760] [DOC] Bulk Operation not "COMPLETED" if device is deleted while its operation is EXECUTING #2211

Merged

Conversation

dmajsag
Copy link
Contributor

@dmajsag dmajsag commented Jun 21, 2024

https://cumulocity.atlassian.net/browse/DM-3760

Description
If I create bulk operation for a set of devices, if one of the devices is deleted while its operation is executing, the bulk operation information in the UI becomes misleading.

@Exalate:

Emmel, Philipp commented: After some more discussion with @user this is different that I had understood earlier. The issue is related to the counters and the percentage shown for a bulk operation being incorrect in certain situation.

The percentage is being calculated by comparing the all counter to the operations that are completed (meaning in status FAILED or SUCCESSFUL). The all counter is only ste once when the operation is created. It is not updated later on even in situations where the number of operations changes. Operations can be deleted by implicitly deleting the as part of deleting a device. Operations can also be added by retrying individual operations. So in the end when operations are removed or added the the percentage calculation may no longer be accurate.

We should document this limitation as part of user docs

+++ added via workflow action "Update (DEV-GS) - Alert Global Support" +++


Copy link

Preview available here

@dmajsag dmajsag requested a review from BeateRixen June 24, 2024 07:43
@BeateRixen
Copy link
Collaborator

@dmajsag Can be merged from my side. Not sure if you need approval from @l2p- here?

@dmajsag dmajsag requested a review from dafkk July 1, 2024 09:38
dmajsag and others added 3 commits July 1, 2024 11:53
…ng-devices-bundle/working-with-operations.md

Co-authored-by: Dafina Karamanoleva <92030501+dafkk@users.noreply.github.com>
…ng-devices-bundle/working-with-operations.md

Co-authored-by: Dafina Karamanoleva <92030501+dafkk@users.noreply.github.com>
…ng-devices-bundle/working-with-operations.md

Co-authored-by: Dafina Karamanoleva <92030501+dafkk@users.noreply.github.com>
@dmajsag dmajsag requested a review from dafkk July 1, 2024 09:55
@dmajsag dmajsag merged commit 1e357cb into develop Jul 1, 2024
1 check passed
@dmajsag dmajsag deleted the DM-3760-DOC-Bulk-Operation-not-COMPLETED-if-device-is-deleted branch July 1, 2024 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants