flexion / ef-cms

An Electronic Filing / Case Management System.
23 stars 10 forks source link

BUG: Edit Docket Entry: Required fields not displaying when doc type is updated to Scenario H document #7508

Closed klohman closed 3 years ago

klohman commented 3 years ago

Related to 7506

Describe the Bug When editing a paper-filed docket entry and updating document type to scenario H document, the required secondary document is not displaying in the form.

Business Impact/Reason for Severity

In which environment did you see this bug? flexion prod

Who were you logged in as? docket clerk

What were you doing when you discovered this bug? (Using the application, demoing, smoke tests, testing other functionality, etc.) verifying support ticket

To Reproduce Steps to reproduce the behavior:

  1. Go to case
  2. Edit docket entry (for paper filed doc)
  3. Update doc type to MOtion for Leave to File or Motion for leave to file out of time

Expected Behavior Secondary document field should display and be required.

Actual Behavior Secondary document field is not displaying.

Screenshots If applicable, add screenshots to help explain your problem. Screen Shot 2021-01-07 at 11.40.06 AM.png

Desktop (please complete the following information):

Smartphone (please complete the following information):

Cause of Bug, If Known

Process for Logging a Bug:

Severity Definition:

FOR ENGINEERING TEAM ONLY Bug Resolution Steps:

klohman commented 3 years ago

7508 Tests

1) Docket clerk updates paper-filed entry doc type to Motion for Leave to file

2) Docket clerk updates paper-filed entry doc type to Motion for Leave to file out of time

3) Docket clerk updates e-filed entry doc type to Motion for Leave to file

4) Docket clerk updates e-filed entry doc type to Motion for Leave to file out of time

5) Docket clerk updates Motion for Leave to File entry to Motion for Leave to file out of time

6) Docket clerk updates Motion for Leave to File Out of time entry to Motion for Leave to file

mariahkannenberg commented 3 years ago

Original designs and user story:

https://github.com/flexion/ef-cms/issues/980

image.png

image.png

mariahkannenberg commented 3 years ago

Original design notes... • If Nonstandard H document type is selected, show secondary document category field and document type field and secondary "Select" button

secondary Document Category field and document type field is required

Document Type field is populated with documents within the selected category • "Motion for Leave to File" and "Motion for Leave to File Out of Time" should not be selectable as a secondary document • The required fields for the secondary document should follow the same pattern as described above for Nonstandard Documents.

on click of secondary select, show "Read only" view displaying both primary and secondary documents