CSV Importer leaving open trx (DB locks)

Description

Test case for GardenWorld:

  • Create order line header

  • Navigate to detail tab and import the attached file (first line OK, second line product not resolved)

  • Without closing the window - try to change the record on screen

  • Close the window

  • Reopen sales order and try to change the line - locked

Environment

None

Activity

Show:
Hiep Lq
December 10, 2016, 9:58 AM

hi Mr on GridTabCSVImporter.manageMasterTrx why need a delete command "gridTab.dataDelete();" after that immediate rollback effect.
i guess to force refresh window, is it?

Hiep Lq
December 10, 2016, 10:07 AM

I ask that because when a table not set "record deletable" import csv will make warning AccessNotDeleteable

Carlos Ruiz
December 13, 2016, 4:06 PM

, I don't remember the test case exactly, but I think it was about a failed import resulted in the failing record still being shown on screen.

Hiep Lq
December 13, 2016, 4:09 PM

yes, i see comment to resolve refesh screen. so better call refesh function at end of import process? i will take time to test it later

Fixed

Assignee

Carlos Ruiz

Reporter

Carlos Ruiz

Labels

None

Tested By

None

Priority

Critical
Configure