Delete Fixed Due Date Schedules

Description

Purpose: To implement v1 deletion of Fixed Due Date Schedules.

Scenarios:

  1. Scenario

    • Given the About section of the Fixed due date schedule detail page

    • When displayed

    • Then a delete button should display as shown in the wireframes

  2. Scenario

    • Given the Delete button/icon on the edit view of Fixed Due Date Schedule in Settings > Circulation

    • When clicked

    • Then a window will pop up asking user to confirm the deletion or cancel the deletion similar to the one shown in Delete Permission set_preview.png

      • Header: Delete fixed due date schedule?

      • Body: <ScheduleName> will be removed from fixed due date schedules.

      • Buttons: Cancel, Delete

  3. Scenario

    • Given the Delete button on the confirmation window

    • When clicked

    • Then:

      • The fixed due date set will be deleted

      • A confirmation will appear after the deletion has occurred reading, "The fixed due date schedule <scheduleName> was successfully deleted." Similar to the attached Permission set deleted success_preview.png

      • The user will be returned to the fixed due date schedule list

      • Deleted schedule should no longer appear in Loan policy menus

  4. Scenario

    • Given the Cancel button on the confirmation window

    • When clicked

    • Then the fixed due date schedule will not be deleted and the user will be returned to the edit Fixed due date schedule page

  5. Scenario

    • Given the fixed due date schedule is in use in one or more loan policy

    • When delete button is displayed

    • Then it should be inactive with rollover text reading "Schedule cannot be deleted when used by one or more loan policy"

Wireframes and mockups:

Environment

None

Potential Workaround

None

Attachments

4

Checklist

hide

TestRail: Results

Activity

Show:

Theodor Tolstoy (One-Group.se) February 16, 2018 at 8:55 AM

it works. You just have to reload the page in order to have the new schedule visible in the ui. I will file a bug for that one

Theodor Tolstoy (One-Group.se) February 16, 2018 at 8:42 AM

Works!

Aditya matukumalli February 15, 2018 at 9:31 PM

Digging through this issue, I was able to confirm scenario 5. The delete button is disabled with the proper hover message when a Fixed due date schedule is connected to one or more loan policies. Can you please verify this on your end and confirm again? Thanks.

Theodor Tolstoy (One-Group.se) February 11, 2018 at 10:23 PM

Ok, thank you for clarifying that. I suspected, but was not entirely sure.

Zak Burke February 10, 2018 at 8:11 PM

the delete Fixed due date schedule button does not appear until you click the Edit button

This is by design and is how delete operations are managed for all complex objects in Settings; Loan Policies works the same way. Only simple key-value items (e.g. Organization > Shelving Locations, Users > Address Types) have in-line edit and delete.

Done

Details

Assignee

Reporter

Priority

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created May 29, 2017 at 11:28 AM
Updated September 11, 2018 at 6:51 AM
Resolved February 16, 2018 at 8:42 AM
TestRail: Cases
TestRail: Runs