Openbravo Issue Tracking System - POS2
View Issue Details
0057086POS2POSpublic2024-11-13 12:532024-11-20 08:51
malsasua 
ranjith_qualiantech_com 
normalminoralways
closedfixed 
5
 
 
No
0057086: EWI: NPE in org.openbravo.retail.posterminal.OrderLoader.lambda$getLocationFromAddress$0(OrderLoader.java:680)
EWI: NPE in org.openbravo.retail.posterminal.OrderLoader.lambda$getLocationFromAddress$0(OrderLoader.java:680)

the whole stack trace attached

Fixed removing these 2 properties from the json:
"alternateShippingLocation": null,
"alternateInvoicingLocation": null,
Backoffice:
1)

POS2
1) Change BP to "Arturo"
2) Add product
3) Put breakpoint in 'completeTicket' State action "ticket/actions/CompleteTicket.js"
Update ticket properties like below
newTicket.alternateShippingLocation = null;
newTicket.alternateInvoicingLocation = null;

4) Complete Ticket

Error/EWI occurs
No tags attached.
txt stackTrace.txt (5,741) 2024-11-13 12:53
https://issues.openbravo.com/file_download.php?file_id=20466&type=bug
Issue History
2024-11-13 12:53malsasuaNew Issue
2024-11-13 12:53malsasuaAssigned To => Retail
2024-11-13 12:53malsasuaFile Added: stackTrace.txt
2024-11-13 12:53malsasuaTriggers an Emergency Pack => No
2024-11-13 12:53malsasuaAssigned ToRetail => guilleaer
2024-11-18 13:27guilleaerStatusnew => acknowledged
2024-11-18 13:30ranjith_qualiantech_comAssigned Toguilleaer => ranjith_qualiantech_com
2024-11-19 07:12ranjith_qualiantech_comStatusacknowledged => scheduled
2024-11-20 06:59hgbotNote Added: 0172259
2024-11-20 07:13ranjith_qualiantech_comSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=28797#r28797
2024-11-20 08:51hgbotResolutionopen => fixed
2024-11-20 08:51hgbotStatusscheduled => closed
2024-11-20 08:51hgbotFixed in Version => RR25Q1
2024-11-20 08:51hgbotNote Added: 0172294
2024-11-20 08:51hgbotNote Added: 0172295

Notes
(0172259)
hgbot   
2024-11-20 06:59   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1790 [^]
(0172294)
hgbot   
2024-11-20 08:51   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: c02fd4158414bf23b36f4fe87ba1e19a59f740a3
Author: Ranjith S R <r.rangaraju@external.orisha.com>
Date: 19-11-2024 18:45:36
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/c02fd4158414bf23b36f4fe87ba1e19a59f740a3 [^]

Fixed ISSUE-57086: Alternate address should be added to Order if address is valid

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0172295)
hgbot   
2024-11-20 08:51   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1790 [^]