Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #36454 Back to Issue ]
Summary 0036454: editing in grid record can be saved before callouts are applied
Revision 2017-07-11 16:08 by alostale
Steps To Reproduce * Alternative 1

Using chrome, open Developer Tools - Network and set Network conditions to GPRS (500ms, 50kb/s, 20bk/s)

As group admin role:
   1.1. Create a Sales Quotation header
   1.2. Insert Row in grid mode
   1.3. Select a product, click on save button in grid and while loading click on Cancel changes toolbar button
     -> Check the line is saved but the prices and amounts remain on 0, the default tax has not been modified...


* Alternative 2
  2.1. Add artificial delay in SL_Order_Product callout code: Thread.sleep(5_000L);
  2.2. Create a Sales Quotation header
  2.3. Insert Row in grid mode
  2.4. Select a product, click on save button before FIC request is completed
    -> Check the line is saved but the prices and amounts remain on 0, the default tax has not been modified...


Note if the same is performed in form view, save request is not performed until FIC response is received so that data is correct.
Revision 2017-07-11 16:07 by alostale
Steps To Reproduce * Alternative 1

Using chrome, open Developer Tools - Network and set Network conditions to GPRS (500ms, 50kb/s, 20bk/s)

As group admin role:
   1.1. Create a Sales Quotation header
   1.2. Insert Row in grid mode
   1.3. Select a product, click on save button in grid and while loading click on Cancel changes toolbar button
     -> Check the line is saved but the prices and amounts remain on 0, the default tax has not been modified...


* Alternative 2
  2.1. Add artificial delay in SL_Order_Product callout code: Thread.sleep(5_000L);
  2.2. Create a Sales Quotation header
  2.2. Insert Row in grid mode
  2.3. Select a product, click on save button before FIC request is completed
    -> Check the line is saved but the prices and amounts remain on 0, the default tax has not been modified...


Note if the same is performed in form view, save request is not performed until FIC response is received so that data is correct.
Revision 2017-07-11 15:05 by alostale
Description It is possible to save a record while editing it in grid before changes produced by callouts are applied to it, the result can be incorrect data being saved. This is easier to reproduce in case of slow network or slow callouts.
Revision 2017-07-11 09:06 by alostale
Description Changes from SL_Order_Product callout are not saved if the network is slow and the sales quotation line is canceled before saved
Revision 2017-07-11 09:04 by alostale
Steps To Reproduce * Alternative 1

Using chrome, open Developer Tools - Network and set Network conditions to GPRS (500ms, 50kb/s, 20bk/s)

As group admin role:
   1.1. Create a Sales Quotation header
   1.2. Insert Row in grid mode
   1.3. Select a product, click on save button in grid and while loading click on Cancel changes toolbar button
     -> Check the line is saved but the prices and amounts remain on 0, the default tax has not been modified...


* Alternative 2
  2.1. Add artificial delay in SL_Order_Product callout code: Thread.sleep(5_000L);
  2.2. Create a Sales Quotation header
  2.2. Insert Row in grid mode
  2.3. Select a product, click on save button in grid and while loading click on Cancel changes toolbar button
    -> Check the line is saved but the prices and amounts remain on 0, the default tax has not been modified...


Note if the same is performed in form view, save request is not performed until FIC response is received so that data is correct.
Revision 2017-07-10 18:14 by ngarcia
Steps To Reproduce Using chrome, open Developer Tools - Network and set Network conditions to GPRS (500ms, 50kb/s, 20bk/s)

As group admin role:
   Create a Sales Quotation header
   Insert Row in grid mode
   Select a product, click on save button in grid and while loading click on Cancel changes toolbar button
   Check the line is saved but the prices and amounts remain on 0, the default tax has not been modified...
Revision 2017-07-10 18:11 by ngarcia
Steps To Reproduce Using chrome, open Developer Tools - Network and set Network conditions to GPRS (500ms, 50kb/s, 20bk/s)

As group admin role:
   Create a Sales Quotation header
   Insert Row in grid mode
   Select a product, click on save and while loading click on Cancel changes
   Check the line is saved but the prices and amounts remain on 0, the default tax has not been modified...


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker