1192: Calculated fields not removed from requisition, causing save failure

Test Case #:1192

Test Case Name: Calculated fields not removed from requisition, causing save failure

System: OpenLMIS

Subsystem: blue

Test case designed by: Paulina Borowa

Design Date:03.11.2016

Short description

When an item with calculated fields is saved, a 400 error is raised on the server and states that fields with calculated values cannot be submitted.

This needs to be fixed from either the client or server side.

For reference, the requisition being saved is: equisition/fd575c05-c469-4bb4-b5d3-4e8937a8c1ff

and user entered data looks like this:

                                                                                                                                                   

Pre – conditions:

                                                                                                                                                                                                                                                       

Step

Action

Expected system response

Comment

1

 Go on host/public/#/requisition/074a49af-12c3-429f-b5da-ed3f9e65787c
                                                                                                                                                                       

                                                                                                                            

                                                 

2

Verified that this is working - UI sends only what is configured as user input.

In URL: http://10.222.17.205/requisition/api/requisitions/074a49af-12c3-429f-b5da-ed3f9e65787c?access_token=9ce4231d-5be9-4eb5-bf1e-478903fc8082

Method: Get


3

 Go on host/public/#/requisition/fd575c05-c469-4bb4-b5d3-4e8937a8c1ff


4

Update template and try to save changes and next click on approve button



OpenLMIS: the global initiative for powerful LMIS software