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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049330
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Retail APImajoralways2022-05-16 10:352022-05-25 09:14
ReporterwicherrView Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionfixedFixed in VersionRR22Q3
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionRR20Q3.4
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

0049330: The ExportOrder API sent a wrong messge when the ticket is not found

DescriptionTarget version : Openbravo3.0 PR20Q3.5


When we use the API endpoint org.openbravo.retail.posterminal.ExportOrder

and when we have and error like :
Caused by: org.openbravo.base.exception.OBException: Can not be found any order with the provided document No: XXXXXXXX00001

The response provided by the API is :

 "response": {
        "requestStreamConnectionTime": 1652688255598,
        "requestDataLoadedTime": 1652688255607,
        "responseDataSentTime": 1652688255607,
        "status": -1,
        "error": {
            "message": "Error in PaidReceips: ",
            "title": "",
            "className": "org.openbravo.base.exception.OBException"
        },
        "totalRows": 0
    }
}
Steps To ReproduceCall the API org.openbravo.retail.posterminal.ExportOrder with a non existing order
Proposed SolutionWe should have a proper message telling the order is not found
TagsNOR
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0049118 closedrqueralta M_PRODUCT.VALUE not included on “Export Order“ API 

-  Notes
(0137649)
hgbot (developer)
2022-05-24 06:51

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/805 [^]
(0137706)
hgbot (developer)
2022-05-25 09:14

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 9bb19fdd6085c8462118492e505177dec33c1689
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 25-05-2022 07:14:23
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/9bb19fdd6085c8462118492e505177dec33c1689 [^]

Fixed ISSUE-49330: Show Custom message when order not found in paid receipt

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/retail/posterminal/PaidReceipts.java
---
(0137707)
hgbot (developer)
2022-05-25 09:14

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/805 [^]

- Issue History
Date Modified Username Field Change
2022-05-16 10:35 wicherr New Issue
2022-05-16 10:35 wicherr Assigned To => Triage Platform Conn
2022-05-16 10:35 wicherr Triggers an Emergency Pack => No
2022-05-16 10:35 wicherr Tag Attached: NOR
2022-05-16 13:42 caristu Assigned To Triage Platform Conn => Retail
2022-05-20 10:51 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2022-05-23 13:02 rafaroda Relationship added related to 0049118
2022-05-23 13:11 ranjith_qualiantech_com Status new => scheduled
2022-05-24 06:51 hgbot Note Added: 0137649
2022-05-25 09:14 hgbot Resolution open => fixed
2022-05-25 09:14 hgbot Status scheduled => closed
2022-05-25 09:14 hgbot Fixed in Version => RR22Q3
2022-05-25 09:14 hgbot Note Added: 0137706
2022-05-25 09:14 hgbot Note Added: 0137707


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker