Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0039874 | Retail Modules | Tests Stabilization | public | 2019-01-03 19:09 | 2019-01-28 19:06 |
Reporter | gorka_gil | ||||
Assigned To | ranjith_qualiantech_com | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | gorka_gil | ||||
OBNetwork customer | |||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0039874: tests conversion rates | ||||
Description | There are some tests about conversion rates: - I39103_VerifyPaymentAmountsInDifferentCurrencies - I33898_VerifyRoundingWhenPayingInForeignCurrency - I33059_VerifyPaymentBasedonConversionRate That have some problems: 1) When executed one test after another , there is an update that fail because found 2 lines instead one: 'update c_conversion_rate SET updated = NOW(), isactive = 'N' where c_currency_id = '102' and c_currency_id_to = '100' and validfrom = to_date(trunc(now())) - interval '2' day' 2) They left conversion rates disabled 3) These tests can not be executed twice, since the insert fail because fail a constraint. | ||||
Steps To Reproduce | 1) create a suite with: I33898_VerifyRoundingWhenPayingInForeignCurrency I39103_VerifyPaymentAmountsInDifferentCurrencies 2) - 3) - | ||||
Proposed Solution | 1) change the way that creates and disabled the conversion rates, but since the pos don't get when is deleted, maybe an option is to execute the update without specify the number to registers to return (DatabaseHelperInsertUpdateOrDelete.UNKNOWN_AFFECTED_ROWS). 2) re-enable the conversion rates disabled at the beginning. 3) maybe check at the beginning if the conversion rate exists and activate it. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2019-01-03 19:09 | gorka_gil | New Issue | |||
2019-01-03 19:09 | gorka_gil | Assigned To | => Retail | ||
2019-01-03 19:09 | gorka_gil | Triggers an Emergency Pack | => No | ||
2019-01-03 19:12 | hgbot | Checkin | |||
2019-01-03 19:12 | hgbot | Note Added: 0108821 | |||
2019-01-08 07:12 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com | ||
2019-01-08 08:45 | ranjith_qualiantech_com | Status | new => scheduled | ||
2019-01-10 14:00 | hgbot | Checkin | |||
2019-01-10 14:00 | hgbot | Note Added: 0108896 | |||
2019-01-10 14:00 | hgbot | Status | scheduled => resolved | ||
2019-01-10 14:00 | hgbot | Resolution | open => fixed | ||
2019-01-10 14:00 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.sampledata/rev/5fea2a6c56faafb1eff0dc93c4353bdf1c88bc90 [^] | ||
2019-01-10 14:00 | hgbot | Checkin | |||
2019-01-10 14:00 | hgbot | Note Added: 0108897 | |||
2019-01-28 19:06 | gorka_gil | Review Assigned To | => gorka_gil | ||
2019-01-28 19:06 | gorka_gil | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|