Openbravo Issue Tracking System - POS2
View Issue Details
0057086POS2POSpublic2024-11-13 12:532025-03-12 10:27
malsasua 
ranjith_qualiantech_com 
normalminoralways
closedfixed 
5
 
25Q1 
approved
Gold
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.
depends on backport 005821224Q4.2 closed ranjith_qualiantech_com EWI: NPE in org.openbravo.retail.posterminal.OrderLoader.lambda$getLocationFromAddress$0(OrderLoader.java:680) 
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:53malsasuaOBNetwork customer => Gold
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:59hgbotMerge Request Status => open
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:51hgbotMerge Request Statusopen => approved
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
2025-03-12 04:57ranjith_qualiantech_comNote Added: 0176698
2025-03-12 04:57ranjith_qualiantech_comStatusclosed => new
2025-03-12 04:57ranjith_qualiantech_comResolutionfixed => open
2025-03-12 04:57ranjith_qualiantech_comFixed in VersionRR25Q1 =>
2025-03-12 04:57ranjith_qualiantech_comStatusnew => scheduled
2025-03-12 04:57ranjith_qualiantech_comStatusscheduled => resolved
2025-03-12 04:57ranjith_qualiantech_comResolutionopen => fixed
2025-03-12 04:57ranjith_qualiantech_comStatusresolved => closed
2025-03-12 10:27guilleaerFixed in Version => 25Q1

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 [^]
(0176698)
ranjith_qualiantech_com   
2025-03-12 04:57   
Reopened for creating the backport to 24Q4