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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0038002
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Tests Stabilizationminorrandom2018-02-26 16:272018-02-26 17:09
Reporteralekosmp86View Statuspublic 
Assigned Toalekosmp86 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0038002: CreditNoteFromCancelAndReplace

DescriptionTest:
org.openbravo.test.mobile.retail.extmodules.selenium.tests.creditnote.CreditNoteFromCancelAndReplace

Error:
The database didn't return the expected data Query has timed out (10 * 1000 = 10000)
Query: "select gci.gcnv_giftcard_inst_id as gcId, gci.value, gci.amount as initBal, gci.currentamount as currBal, gci.status, gci.fin_payment_id paymentId, gci.type, bp.name as bPartner from gcnv_giftcard_inst gci join c_bpartner bp on bp.c_bpartner_id=gci.c_bpartner_id where gci.c_order_id = '523D04DD9E4B6D022AA46780423651D0' "
Steps To Reproduce - Run test in CreditNoteFromCancelAndReplace.java
 - If the queries in the test are executed before completing the synchronization, the test will fail.
Proposed SolutionThe error is probably caused because the backend is queried before synchronizing it with the WebPOS.

We should force a synchronization between the POS and the backend before executing any query.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0102836)
hgbot (developer)
2018-02-26 17:09

Repository: tools/automation/pi-mobile
Changeset: 4bed35f49266bbe3d3a778df51d5c656673f8c54
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Mon Feb 26 11:08:28 2018 -0500
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/4bed35f49266bbe3d3a778df51d5c656673f8c54 [^]

Related to issue 38002: Removed unused import so no warnings are shown in IDE.
Refer to changeset c4f18ae63184 for the fix of this issue.

---
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/creditnote/CreditNoteFromCancelAndReplace.java
---

- Issue History
Date Modified Username Field Change
2018-02-26 16:27 alekosmp86 New Issue
2018-02-26 16:27 alekosmp86 Assigned To => Retail
2018-02-26 16:27 alekosmp86 Triggers an Emergency Pack => No
2018-02-26 16:45 alekosmp86 Assigned To Retail => alekosmp86
2018-02-26 17:09 hgbot Checkin
2018-02-26 17:09 hgbot Note Added: 0102836


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker