Project:
View Revisions: Issue #32415 | [ Back to Issue ] | ||
Summary | 0032415: [Services] Asynchronous processes can corrupt receipt data | ||
Revision | 2016-03-05 17:26 by Orekaria | ||
Steps To Reproduce | A. Apply the attached patch Create or execute a test with a single line receipt (e.g: CreateSaleWithEAN Verify that the console shows log similar to (tweak the patch timeouts so 'first' is before 'second'): 6478 [Thread-0] INFO CreateSaleWithEAN - Tap on 'BUTTON_PAY_DONE' 6553 [Thread-0] WARN CreateSaleWithEAN - Allowed (exclusion): http://192.168.1.35:8080/openbravo/web/js/gen/726b345e9ea7139b002dfb0550badbf2_WebPOS.js [^] 30261:17 [dev] first 6553 [Thread-0] INFO CreateSaleWithEAN - Verifying that 'LABEL_TOTALTOPAY' = '0.00' 7594 [Thread-0] WARN CreateSaleWithEAN - TestRegistry has been forced to refresh 7646 [Thread-0] WARN CreateSaleWithEAN - Allowed (exclusion): http://192.168.1.35:8080/openbravo/web/js/gen/726b345e9ea7139b002dfb0550badbf2_WebPOS.js [^] 22329:25 [dev] second 8702 [Thread-0] WARN CreateSaleWithEAN - TestRegistry has been forced to refresh 8768 [Thread-0] INFO CreateSaleWithEAN - After test verifications 8792 [Thread-0] INFO CreateSaleWithEAN - Synchronizing terminal and server 9097 [Thread-0] INFO CreateSaleWithEAN - There are no pending POST or GET requests to the server 9101 [Thread-0] INFO CreateSaleWithEAN - Waiting for the 'c_import_entry' to process all 'Initial' records 10104 [Thread-0] INFO CreateSaleWithEAN - Waiting for the 'c_import_entry' to process all 'Initial' records 12283 [main] INFO CreateSaleWithEAN - Test failed 12606 [main] INFO CreateSaleWithEAN - Screenshot taken: </tmp/tip/last-results/openbravo/screenshots/17:11:28 FAILED: CreateSaleWithEAN.png> 12606 [main] INFO CreateSaleWithEAN - *** Error: *** org.junit.internal.runners.model.MultipleFailureException: There were 2 errors: java.lang.AssertionError((1) errors in the browser log: [2016-03-05T17:11:24+0100] [SEVERE] http://192.168.1.35:8080/openbravo/web/js/gen/726b345e9ea7139b002dfb0550badbf2_WebPOS.js [^] 2561:19 The receipt has been modified while it was being closed: { "lines": { "0": { "hasRelatedServices": [ null, false ] } } } B. See also attached image |
||
Revision | 2016-03-05 17:13 by Orekaria | ||
Steps To Reproduce | Apply the attached patch Create or execute a test with a single line receipt (e.g: CreateSaleWithEAN Verify that the console shows log similar to (tweak the patch timeouts so 'first' is before 'second'): 6478 [Thread-0] INFO CreateSaleWithEAN - Tap on 'BUTTON_PAY_DONE' 6553 [Thread-0] WARN CreateSaleWithEAN - Allowed (exclusion): http://192.168.1.35:8080/openbravo/web/js/gen/726b345e9ea7139b002dfb0550badbf2_WebPOS.js [^] 30261:17 [dev] first 6553 [Thread-0] INFO CreateSaleWithEAN - Verifying that 'LABEL_TOTALTOPAY' = '0.00' 7594 [Thread-0] WARN CreateSaleWithEAN - TestRegistry has been forced to refresh 7646 [Thread-0] WARN CreateSaleWithEAN - Allowed (exclusion): http://192.168.1.35:8080/openbravo/web/js/gen/726b345e9ea7139b002dfb0550badbf2_WebPOS.js [^] 22329:25 [dev] second 8702 [Thread-0] WARN CreateSaleWithEAN - TestRegistry has been forced to refresh 8768 [Thread-0] INFO CreateSaleWithEAN - After test verifications 8792 [Thread-0] INFO CreateSaleWithEAN - Synchronizing terminal and server 9097 [Thread-0] INFO CreateSaleWithEAN - There are no pending POST or GET requests to the server 9101 [Thread-0] INFO CreateSaleWithEAN - Waiting for the 'c_import_entry' to process all 'Initial' records 10104 [Thread-0] INFO CreateSaleWithEAN - Waiting for the 'c_import_entry' to process all 'Initial' records 12283 [main] INFO CreateSaleWithEAN - Test failed 12606 [main] INFO CreateSaleWithEAN - Screenshot taken: </tmp/tip/last-results/openbravo/screenshots/17:11:28 FAILED: CreateSaleWithEAN.png> 12606 [main] INFO CreateSaleWithEAN - *** Error: *** org.junit.internal.runners.model.MultipleFailureException: There were 2 errors: java.lang.AssertionError((1) errors in the browser log: [2016-03-05T17:11:24+0100] [SEVERE] http://192.168.1.35:8080/openbravo/web/js/gen/726b345e9ea7139b002dfb0550badbf2_WebPOS.js [^] 2561:19 The receipt has been modified while it was being closed: { "lines": { "0": { "hasRelatedServices": [ null, false ] } } } |
||
Revision | 2016-03-05 16:52 by Orekaria | ||
Steps To Reproduce | Verify that this error is sometimes shown in the integration (the issue is not linked to a particular test): [junit] 2016-03-05 11:57:21,580 [main] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - ** test start ** [junit] 2016-03-05 11:57:21,609 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - The query to delete the OBMOBC_LOGCLIENT records affected 66 records [junit] 2016-03-05 11:57:21,613 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Tap on 'BUTTON_RECEIPT_CUSTOMER' [junit] 2016-03-05 11:57:21,657 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Writing 'VBS Customer 3' into 'FIELD_CUSTOMER_MODAL' [junit] 2016-03-05 11:57:21,687 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Tap on 'BUTTON_CUSTOMER_MODAL_SEARCH' [junit] 2016-03-05 11:57:21,744 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Synchronizing terminal and server [junit] 2016-03-05 11:57:21,850 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - There are no pending POST or GET requests to the server [junit] 2016-03-05 11:57:21,863 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Tapping 'TABLE_CUSTOMER (testId = table_stBPAssignToReceipt)'. Waiting for the scrollableTable to populate the data [junit] 2016-03-05 11:57:21,872 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Verifying that 'LABEL_CUSTOMER_SEARCH_IDENTIFIER' = 'VBS Customer 3' [junit] 2016-03-05 11:57:22,202 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Tap on 'BUTTON_CUSTOMER_SEARCH_ROW1' [junit] 2016-03-05 11:57:22,245 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Tap on 'BUTTON_BROWSE' [junit] 2016-03-05 11:57:22,334 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Verifying that 'LABEL_CATEGORYTABLE_TITLE' = 'Categories' [junit] 2016-03-05 11:57:22,374 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Tap on 'BUTTON_CATEGORY_LIGHTINGANDELECTRONICS' [junit] 2016-03-05 11:57:22,378 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Verifying that 'LABEL_CATEGORYTABLE_TITLE' = 'Categories' [junit] 2016-03-05 11:57:22,497 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Verifying that 'LABEL_PRODUCTTABLE_TITLE' = 'Lighting & Electronics' [junit] 2016-03-05 11:57:22,877 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Tap on 'BUTTON_PRODUCT_LIGHTINGANDELECTRONICS_BASECAMPLANTERN' [junit] 2016-03-05 11:57:23,110 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Verifying that 'LABEL_TOTALTOPAY' = '55.50' [junit] 2016-03-05 11:57:24,396 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Tap on 'BUTTON_PAY' [junit] 2016-03-05 11:57:24,435 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Tap on 'BUTTON_PAY_EXACT' [junit] 2016-03-05 11:57:24,513 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Tap on 'BUTTON_PAY_DONE' [junit] 2016-03-05 11:57:24,570 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Verifying that 'LABEL_TOTALTOPAY' = '0.00' [junit] 2016-03-05 11:57:25,595 [Thread-39] WARN VBS1001.I30329_ContactFromOtherOrg.test2 - TestRegistry has been forced to refresh [junit] 2016-03-05 11:57:25,697 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - After test verifications [junit] 2016-03-05 11:57:25,723 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Synchronizing terminal and server [junit] 2016-03-05 11:57:26,227 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - There are no pending POST or GET requests to the server [junit] 2016-03-05 11:57:28,408 [main] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Test failed [junit] 2016-03-05 11:57:28,891 [main] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Screenshot taken: <last-results/ret-test-pgsql-suite2/screenshots/11:57:28 FAILED: I30329_ContactFromOtherOrg.test2.png> [junit] 2016-03-05 11:57:28,891 [main] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - [junit] [junit] *** Error: *** [junit] [junit] org.junit.internal.runners.model.MultipleFailureException: There were 2 errors: [junit] java.lang.AssertionError((1) errors in the browser log: [junit] [2016-03-05T11:57:25+0000] [SEVERE] http://127.0.1.1/ret-test-pgsql-suite2/web/js/gen/25083a51cb7848351bf885e88777d4cd_WebPOS.js [^] 2561:19 The receipt has been modified while it was being closed: [junit] { [junit] "lines": { [junit] "0": { [junit] "hasRelatedServices": [ [junit] null, [junit] true [junit] ] [junit] } [junit] } [junit] } [junit] ; line: Object.receipt.trigger.callback (http://127.0.1.1/ret-test-pgsql-suite2/web/js/gen/25083a51cb7848351bf885e88777d4cd_WebPOS.js:40989:20 [^]) (*,+) [junit] ) |
||
Revision | 2016-03-05 16:48 by Orekaria | ||
Description | Asynchronous processes can corrupt receipt data The problem is that lasting asynchronous processes are still being executed while the application is available for user actions |
||
Revision | 2016-03-05 16:35 by Orekaria | ||
Description | The 'addProductToOrder' asynchronous processes can corrupt receipt data The problem is that lasting asynchronous processes are still being executed while the application is available for user actions |
||
Revision | 2016-03-05 16:32 by Orekaria | ||
Steps To Reproduce | Verify that this error is sometimes shown in the integration (the issue is not linked to a test): [junit] 2016-03-05 11:57:21,580 [main] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - ** test start ** [junit] 2016-03-05 11:57:21,609 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - The query to delete the OBMOBC_LOGCLIENT records affected 66 records [junit] 2016-03-05 11:57:21,613 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Tap on 'BUTTON_RECEIPT_CUSTOMER' [junit] 2016-03-05 11:57:21,657 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Writing 'VBS Customer 3' into 'FIELD_CUSTOMER_MODAL' [junit] 2016-03-05 11:57:21,687 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Tap on 'BUTTON_CUSTOMER_MODAL_SEARCH' [junit] 2016-03-05 11:57:21,744 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Synchronizing terminal and server [junit] 2016-03-05 11:57:21,850 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - There are no pending POST or GET requests to the server [junit] 2016-03-05 11:57:21,863 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Tapping 'TABLE_CUSTOMER (testId = table_stBPAssignToReceipt)'. Waiting for the scrollableTable to populate the data [junit] 2016-03-05 11:57:21,872 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Verifying that 'LABEL_CUSTOMER_SEARCH_IDENTIFIER' = 'VBS Customer 3' [junit] 2016-03-05 11:57:22,202 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Tap on 'BUTTON_CUSTOMER_SEARCH_ROW1' [junit] 2016-03-05 11:57:22,245 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Tap on 'BUTTON_BROWSE' [junit] 2016-03-05 11:57:22,334 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Verifying that 'LABEL_CATEGORYTABLE_TITLE' = 'Categories' [junit] 2016-03-05 11:57:22,374 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Tap on 'BUTTON_CATEGORY_LIGHTINGANDELECTRONICS' [junit] 2016-03-05 11:57:22,378 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Verifying that 'LABEL_CATEGORYTABLE_TITLE' = 'Categories' [junit] 2016-03-05 11:57:22,497 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Verifying that 'LABEL_PRODUCTTABLE_TITLE' = 'Lighting & Electronics' [junit] 2016-03-05 11:57:22,877 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Tap on 'BUTTON_PRODUCT_LIGHTINGANDELECTRONICS_BASECAMPLANTERN' [junit] 2016-03-05 11:57:23,110 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Verifying that 'LABEL_TOTALTOPAY' = '55.50' [junit] 2016-03-05 11:57:24,396 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Tap on 'BUTTON_PAY' [junit] 2016-03-05 11:57:24,435 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Tap on 'BUTTON_PAY_EXACT' [junit] 2016-03-05 11:57:24,513 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Tap on 'BUTTON_PAY_DONE' [junit] 2016-03-05 11:57:24,570 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Verifying that 'LABEL_TOTALTOPAY' = '0.00' [junit] 2016-03-05 11:57:25,595 [Thread-39] WARN VBS1001.I30329_ContactFromOtherOrg.test2 - TestRegistry has been forced to refresh [junit] 2016-03-05 11:57:25,697 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - After test verifications [junit] 2016-03-05 11:57:25,723 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Synchronizing terminal and server [junit] 2016-03-05 11:57:26,227 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - There are no pending POST or GET requests to the server [junit] 2016-03-05 11:57:28,408 [main] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Test failed [junit] 2016-03-05 11:57:28,891 [main] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Screenshot taken: <last-results/ret-test-pgsql-suite2/screenshots/11:57:28 FAILED: I30329_ContactFromOtherOrg.test2.png> [junit] 2016-03-05 11:57:28,891 [main] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - [junit] [junit] *** Error: *** [junit] [junit] org.junit.internal.runners.model.MultipleFailureException: There were 2 errors: [junit] java.lang.AssertionError((1) errors in the browser log: [junit] [2016-03-05T11:57:25+0000] [SEVERE] http://127.0.1.1/ret-test-pgsql-suite2/web/js/gen/25083a51cb7848351bf885e88777d4cd_WebPOS.js [^] 2561:19 The receipt has been modified while it was being closed: [junit] { [junit] "lines": { [junit] "0": { [junit] "hasRelatedServices": [ [junit] null, [junit] true [junit] ] [junit] } [junit] } [junit] } [junit] ; line: Object.receipt.trigger.callback (http://127.0.1.1/ret-test-pgsql-suite2/web/js/gen/25083a51cb7848351bf885e88777d4cd_WebPOS.js:40989:20 [^]) (*,+) [junit] ) |
||
Revision | 2016-03-05 16:32 by Orekaria | ||
Steps To Reproduce | Verify that this error is sometimes shown in the integration (the issue is not linked to the test): [junit] 2016-03-05 11:57:21,580 [main] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - ** test start ** [junit] 2016-03-05 11:57:21,609 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - The query to delete the OBMOBC_LOGCLIENT records affected 66 records [junit] 2016-03-05 11:57:21,613 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Tap on 'BUTTON_RECEIPT_CUSTOMER' [junit] 2016-03-05 11:57:21,657 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Writing 'VBS Customer 3' into 'FIELD_CUSTOMER_MODAL' [junit] 2016-03-05 11:57:21,687 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Tap on 'BUTTON_CUSTOMER_MODAL_SEARCH' [junit] 2016-03-05 11:57:21,744 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Synchronizing terminal and server [junit] 2016-03-05 11:57:21,850 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - There are no pending POST or GET requests to the server [junit] 2016-03-05 11:57:21,863 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Tapping 'TABLE_CUSTOMER (testId = table_stBPAssignToReceipt)'. Waiting for the scrollableTable to populate the data [junit] 2016-03-05 11:57:21,872 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Verifying that 'LABEL_CUSTOMER_SEARCH_IDENTIFIER' = 'VBS Customer 3' [junit] 2016-03-05 11:57:22,202 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Tap on 'BUTTON_CUSTOMER_SEARCH_ROW1' [junit] 2016-03-05 11:57:22,245 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Tap on 'BUTTON_BROWSE' [junit] 2016-03-05 11:57:22,334 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Verifying that 'LABEL_CATEGORYTABLE_TITLE' = 'Categories' [junit] 2016-03-05 11:57:22,374 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Tap on 'BUTTON_CATEGORY_LIGHTINGANDELECTRONICS' [junit] 2016-03-05 11:57:22,378 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Verifying that 'LABEL_CATEGORYTABLE_TITLE' = 'Categories' [junit] 2016-03-05 11:57:22,497 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Verifying that 'LABEL_PRODUCTTABLE_TITLE' = 'Lighting & Electronics' [junit] 2016-03-05 11:57:22,877 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Tap on 'BUTTON_PRODUCT_LIGHTINGANDELECTRONICS_BASECAMPLANTERN' [junit] 2016-03-05 11:57:23,110 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Verifying that 'LABEL_TOTALTOPAY' = '55.50' [junit] 2016-03-05 11:57:24,396 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Tap on 'BUTTON_PAY' [junit] 2016-03-05 11:57:24,435 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Tap on 'BUTTON_PAY_EXACT' [junit] 2016-03-05 11:57:24,513 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Tap on 'BUTTON_PAY_DONE' [junit] 2016-03-05 11:57:24,570 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Verifying that 'LABEL_TOTALTOPAY' = '0.00' [junit] 2016-03-05 11:57:25,595 [Thread-39] WARN VBS1001.I30329_ContactFromOtherOrg.test2 - TestRegistry has been forced to refresh [junit] 2016-03-05 11:57:25,697 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - After test verifications [junit] 2016-03-05 11:57:25,723 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Synchronizing terminal and server [junit] 2016-03-05 11:57:26,227 [Thread-39] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - There are no pending POST or GET requests to the server [junit] 2016-03-05 11:57:28,408 [main] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Test failed [junit] 2016-03-05 11:57:28,891 [main] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - Screenshot taken: <last-results/ret-test-pgsql-suite2/screenshots/11:57:28 FAILED: I30329_ContactFromOtherOrg.test2.png> [junit] 2016-03-05 11:57:28,891 [main] INFO VBS1001.I30329_ContactFromOtherOrg.test2 - [junit] [junit] *** Error: *** [junit] [junit] org.junit.internal.runners.model.MultipleFailureException: There were 2 errors: [junit] java.lang.AssertionError((1) errors in the browser log: [junit] [2016-03-05T11:57:25+0000] [SEVERE] http://127.0.1.1/ret-test-pgsql-suite2/web/js/gen/25083a51cb7848351bf885e88777d4cd_WebPOS.js [^] 2561:19 The receipt has been modified while it was being closed: [junit] { [junit] "lines": { [junit] "0": { [junit] "hasRelatedServices": [ [junit] null, [junit] true [junit] ] [junit] } [junit] } [junit] } [junit] ; line: Object.receipt.trigger.callback (http://127.0.1.1/ret-test-pgsql-suite2/web/js/gen/25083a51cb7848351bf885e88777d4cd_WebPOS.js:40989:20 [^]) (*,+) [junit] ) |
||
Revision | 2016-03-05 16:32 by Orekaria | ||
Description | The 'addProductToOrder' asynchronous processes can break the receipt coherence The problem is that lasting asynchronous processes are still being executed while the application is available for user actions |
||
Revision | 2016-03-05 16:29 by Orekaria | ||
Steps To Reproduce | Verify that this error is sometimes shown in the integration: [junit] *** Error: *** [junit] [junit] org.junit.internal.runners.model.MultipleFailureException: There were 2 errors: [junit] java.lang.AssertionError((1) errors in the browser log: [junit] [2016-03-05T11:57:25+0000] [SEVERE] http://127.0.1.1/ret-test-pgsql-suite2/web/js/gen/25083a51cb7848351bf885e88777d4cd_WebPOS.js [^] 2561:19 The receipt has been modified while it was being closed: [junit] { [junit] "lines": { [junit] "0": { [junit] "hasRelatedServices": [ [junit] null, [junit] true [junit] ] [junit] } [junit] } [junit] } [junit] ; line: Object.receipt.trigger.callback (http://127.0.1.1/ret-test-pgsql-suite2/web/js/gen/25083a51cb7848351bf885e88777d4cd_WebPOS.js:40989:20 [^]) (*,+) [junit] ) |
||
Revision | 2016-03-05 16:29 by Orekaria | ||
Description | The 'addProductToOrder' asynchronous processes can break the receipt coherence |
Copyright © 2000 - 2009 MantisBT Group |