[ABTEST-255] Cannot delete multiple tests at the same time Created: 15/Jul/20  Updated: 19/Aug/20  Resolved: 07/Aug/20

Status: Closed
Project: A/B Testing
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0

Type: Bug Priority: Neutral
Reporter: Andrei Ichimescu Assignee: Nguyen Phung Chi
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 7h
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Epic Link: ABTEST MVP
Sprint: Add-Ons 44
Story Points: 2

 Description   

Steps to reproduce:
1 Create a test
2 Create another test
3 Select them and click on Delete Action.
4. Confirm the dialog
Results: only one of the test gets deleted, the other fails with the following error:

```

2020-07-15 10:22:15,721 ERROR fo.magnolia.abtesting.app.actions.DeleteTestAction: Couldn't unpublish ab-test.
info.magnolia.ui.api.action.ActionExecutionException: Action execution failed for action: unpublish
at info.magnolia.ui.api.action.AbstractActionExecutor.execute(AbstractActionExecutor.java:64) ~[magnolia-ui-api-6.2.1.jar:?]
at info.magnolia.abtesting.app.actions.AbstractTestAction.unpublish(AbstractTestAction.java:100) ~[magnolia-abtesting-ui-1.0-SNAPSHOT.jar:?]
at info.magnolia.abtesting.app.actions.DeleteTestAction.deleteTest(DeleteTestAction.java:106) ~[magnolia-abtesting-ui-1.0-SNAPSHOT.jar:?]

```
Expected results: Both tests get deleted


Generated at Sun Feb 11 22:54:25 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.