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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0047489
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2021-08-03 11:202021-08-24 07:35
Reporterhector_hernaezView Statuspublic 
Assigned Torqueralta 
PriorityhighResolutionfixedFixed in VersionRR21Q4
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
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

0047489: Uncheck the Shipping Address in the customer generates EWI when a purchase is done

DescriptionAn EWI arises in the Backoffice when the purchase is done by a customer that has the 'Shipment address' unchecked in the 'Edit Customer Address' window.

Error:
org.postgresql.util.PSQLException: ERROR: insert or update on table "c_order" violates foreign key constraint "c_order_c_bpartner_location1"
  Detail: Key (c_bpartner_location_id)=(null) is not present in table "c_bpartner_location".
    at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2553)
    at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2285)
Steps To ReproduceThese steps were reproduced in 'Livebuilds - Retail with modules'

- Create a new customer.
- Create a new ticket.
- In the select customer window, go manage address option in the costumer and
  after, to edit in the address.
- Uncheck 'Shipping Address'.
- Complete a purchase with that customer.
- Go to 'Error while importing POS data' window in backoffice.
- You will see an error related to that order.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0051856 closedradhakrishnan Order goes to Errors While Importing POS Data if the business partner does not have a shipping address defined 

-  Notes
(0131239)
hgbot (developer)
2021-08-23 05:57

Merge Request created: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/120 [^]
(0131240)
hgbot (developer)
2021-08-23 05:58

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/551 [^]
(0131277)
hgbot (developer)
2021-08-24 07:34

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/551 [^]
(0131278)
hgbot (developer)
2021-08-24 07:34

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 54769cab1bc777dcc81df7f111d0b068da338cb4
Author: Rafael Queralta <rafaelcuba81@gmail.com>
Date: 2021-08-24T05:34:26+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/54769cab1bc777dcc81df7f111d0b068da338cb4 [^]

Fixed BUG-47489: Show error when the current customer does not have any Shipping Address defined

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.retail.posterminal/js/pointofsale/view/subwindows/customeraddress/components/sharedcomponents.js
---
(0131279)
hgbot (developer)
2021-08-24 07:35

Repository: https://gitlab.com/openbravo/ci/mobile-test [^]
Changeset: 4ef18bd34ca54d65229528c7116dd4bcbaa19e64
Author: Rafael Queralta <rafaelcuba81@gmail.com>
Date: 2021-08-24T05:34:48+00:00
URL: https://gitlab.com/openbravo/ci/mobile-test/-/commit/4ef18bd34ca54d65229528c7116dd4bcbaa19e64 [^]

Related to BUG-47489: Updated Test CheckNumberButtonsAddress, I36214_VerifyCustomerManageAddress, I36641_VerifyReceiptAddressOnCustomerUpdate, SelectBothAddress, CheckShippingAddressMandatory, I42978_VerifyCustomerAddress

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/customercreation/CheckNumberButtonsAddress.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/customercreation/CheckShippingAddressMandatory.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/customercreation/I36214_VerifyCustomerManageAddress.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/customercreation/I36641_VerifyReceiptAddressOnCustomerUpdate.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/customercreation/I42978_VerifyCustomerAddress.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/customercreation/SelectBothAddress.java
---
(0131280)
hgbot (developer)
2021-08-24 07:35

Merge request merged: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/120 [^]

- Issue History
Date Modified Username Field Change
2021-08-03 11:20 hector_hernaez New Issue
2021-08-03 11:20 hector_hernaez Assigned To => Retail
2021-08-03 11:20 hector_hernaez Resolution time => 1629756000
2021-08-03 11:20 hector_hernaez Triggers an Emergency Pack => No
2021-08-03 14:18 malsasua Description Updated View Revisions
2021-08-03 14:43 adrianromero Status new => acknowledged
2021-08-04 10:36 hector_hernaez Steps to Reproduce Updated View Revisions
2021-08-04 10:36 hector_hernaez Steps to Reproduce Updated View Revisions
2021-08-05 12:52 adrianromero Status acknowledged => scheduled
2021-08-05 12:52 adrianromero Assigned To Retail => rqueralta
2021-08-23 05:57 hgbot Note Added: 0131239
2021-08-23 05:58 hgbot Note Added: 0131240
2021-08-24 07:34 hgbot Resolution open => fixed
2021-08-24 07:34 hgbot Status scheduled => closed
2021-08-24 07:34 hgbot Note Added: 0131277
2021-08-24 07:34 hgbot Fixed in Version => RR21Q4
2021-08-24 07:34 hgbot Note Added: 0131278
2021-08-24 07:35 hgbot Note Added: 0131279
2021-08-24 07:35 hgbot Note Added: 0131280
2023-03-15 10:21 ngarcia Relationship added related to 0051856


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker