[ABTEST-211] Cannot delete test when original page is not selected Created: 21/May/20  Updated: 17/Jun/20  Resolved: 03/Jun/20

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

Type: Bug Priority: Neutral
Reporter: Nguyen Phung Chi Assignee: Nguyen Phung Chi
Resolution: Fixed 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
Epic Link: ABTEST MVP
Sprint: Add-Ons 39
Story Points: 1

 Description   

Steps to reproduce:

  1. Create a new test
  2. Enter test name
  3. Save the test
  4. Click on delete test action

Actual:

  • Cannot save the test thrown PathNotFoundException: originalPage in the log, but no error show in UI.

Expected:

  • The test can be deleted even if the original page is not specified.
  • Throws RuntimeRepositoryException in the catch block to throw an error to UI.

Dev hints:

  • In DeleteTestAction, we are trying to unlock the website node but the original page not found, so we should do nothing in this case.

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