Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0034017 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2016-09-19 14:25 | 2016-10-21 09:14 | |||
Reporter | adrianromero | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | RR17Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 6c3ce0736516 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | guilleaer | |||||||
OBNetwork customer | OBPS | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0034017: [SER QA 1730] Function getLastDocumentNumber relies on the separator '/' to process Document numbers | |||||||
Description | In the function getLastDocumentNumber the SQL regular expression relies on having a separator in the document number of orders to calculate the latest document number. This is not correct because since issue 32857 the application can be configured to not to have a separator in the document numbers generated by the POS | |||||||
Steps To Reproduce | The lines affected are: https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/b61897bd8ae0/src/org/openbravo/retail/posterminal/POSUtils.java#l342 [^] https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/b61897bd8ae0/src/org/openbravo/retail/posterminal/POSUtils.java#l346 [^] | |||||||
Proposed Solution | Modify the regular expression to work properly independently the document numbers has been generated with separator or not. | |||||||
Tags | SER-QA | |||||||
Attached Files | ![]() | |||||||
![]() |
||||||||
|
![]() |
|
(0090685) hgbot (developer) 2016-10-19 08:10 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 6c3ce0736516785ac74007e2c5142f792d8c7a19 Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Tue Oct 18 11:07:55 2016 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6c3ce0736516785ac74007e2c5142f792d8c7a19 [^] Fixes issue 34017 : Modified Document number regex to get max document number based on document seperator --- M src/org/openbravo/retail/posterminal/POSUtils.java --- |
![]() |
|||
Date Modified | Username | Field | Change |
2016-09-19 14:25 | adrianromero | New Issue | |
2016-09-19 14:25 | adrianromero | Assigned To | => Retail |
2016-09-19 14:25 | adrianromero | OBNetwork customer | => Yes |
2016-09-19 14:25 | adrianromero | Resolution time | => 1475445600 |
2016-09-19 14:25 | adrianromero | Triggers an Emergency Pack | => No |
2016-09-19 14:25 | adrianromero | Tag Attached: SER-QA | |
2016-09-19 14:25 | adrianromero | Relationship added | related to 0032857 |
2016-10-17 14:02 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2016-10-17 14:02 | ranjith_qualiantech_com | Status | new => scheduled |
2016-10-18 08:36 | ranjith_qualiantech_com | File Added: issue 34017 source posterminal 7054.patch | |
2016-10-18 13:01 | marvintm | Resolution time | 1475445600 => 1477346400 |
2016-10-19 08:10 | hgbot | Checkin | |
2016-10-19 08:10 | hgbot | Note Added: 0090685 | |
2016-10-19 08:10 | hgbot | Status | scheduled => resolved |
2016-10-19 08:10 | hgbot | Resolution | open => fixed |
2016-10-19 08:10 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6c3ce0736516785ac74007e2c5142f792d8c7a19 [^] |
2016-10-21 09:14 | guilleaer | Review Assigned To | => guilleaer |
2016-10-21 09:14 | guilleaer | Status | resolved => closed |
2016-10-21 09:14 | guilleaer | Fixed in Version | => RR17Q1 |
Copyright © 2000 - 2009 MantisBT Group |