Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
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:
Image Modified

                                                                                                                                                   

Pre – conditions:

                                                                                                                                                                                                                                                       



 

Step

Action

Expected system response

Comment

1

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

Image Added                                                                                                                            

                                                 

2

  

 

3

  

 

4

  

 

5

   

6

  

 

7

  

 

8

                                                 

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

Image Added


3

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

Image Added


4

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

Image Added


Image Added