Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0037527 | Retail Modules | Web POS | public | 2017-12-20 16:35 | 2018-08-01 09:14 |
Reporter | umartirena | ||||
Assigned To | ranjith_qualiantech_com | ||||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | RR18Q2 | |||
Merge Request Status | |||||
Review Assigned To | marvintm | ||||
OBNetwork customer | OBPS | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0037527: POSUtils.getLastDocumentNumberForPOS() function takes into account correctly imported errors while importing when it should not | ||||
Description | POSUtils.getLastDocumentNumberForPOS() function takes into account correctly imported errors while importing when it should not | ||||
Steps To Reproduce | Having an "Imported Correctly" record in "Errors while importing" window of type "Order", if the Web POS is loaded the following query takes into account the previous record when it should not: OBCriteria<OBPOSErrors> errorCrit = OBDal.getInstance().createCriteria(OBPOSErrors.class); errorCrit.add(Restrictions.eq(OBPOSErrors.PROPERTY_OBPOSAPPLICATIONS, terminal)); errorCrit.add(Restrictions.eq(OBPOSErrors.PROPERTY_TYPEOFDATA, "Order")); List<OBPOSErrors> errors = errorCrit.list(); | ||||
Proposed Solution | Filter the following query by records not in "Imported Correctly" status: OBCriteria<OBPOSErrors> errorCrit = OBDal.getInstance().createCriteria(OBPOSErrors.class); errorCrit.add(Restrictions.eq(OBPOSErrors.PROPERTY_OBPOSAPPLICATIONS, terminal)); errorCrit.add(Restrictions.eq(OBPOSErrors.PROPERTY_TYPEOFDATA, "Order")); List<OBPOSErrors> errors = errorCrit.list(); | ||||
Additional Information | |||||
Tags | Performance | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2017-12-20 16:35 | umartirena | New Issue | |||
2017-12-20 16:35 | umartirena | Assigned To | => Retail | ||
2017-12-20 16:35 | umartirena | OBNetwork customer | => No | ||
2017-12-20 16:35 | umartirena | Triggers an Emergency Pack | => No | ||
2017-12-20 16:49 | marvintm | OBNetwork customer | No => Yes | ||
2017-12-20 16:49 | marvintm | Resolution time | => 1515625200 | ||
2017-12-28 08:03 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com | ||
2018-01-05 12:46 | hgbot | Checkin | |||
2018-01-05 12:46 | hgbot | Note Added: 0101589 | |||
2018-01-05 12:46 | hgbot | Status | new => resolved | ||
2018-01-05 12:46 | hgbot | Resolution | open => fixed | ||
2018-01-05 12:46 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/fca923eb6e652df30493f5f5fbc8b5ba86c89c66 [^] | ||
2018-01-11 17:51 | marvintm | Review Assigned To | => marvintm | ||
2018-01-11 17:51 | marvintm | Status | resolved => closed | ||
2018-01-11 17:51 | marvintm | Fixed in Version | => RR18Q2 | ||
2018-08-01 09:14 | alostale | Tag Attached: Performance |
Notes | |||||
|
|||||
|
|