Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0056106 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] POS | major | have not tried | 2024-07-24 14:06 | 2024-08-02 15:12 | |||
Reporter | guilleaer | View Status | public | |||||
Assigned To | sreehari | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 24Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0056106: [RM-15704] When an order pointing to a customer which is not part of master data is loaded an error is shown | |||||||
Description | When an order pointing to a customer which is not part of master data is loaded an error is shown see more info in jira: https://openbravo.atlassian.net/browse/RM-15704 [^] | |||||||
Steps To Reproduce | From POS2 create a new customer Create an order with this customer refresh master data refresh POS using dev tools remove from business partner master data the recently created customer (remove from indexed db) try to open the order from "orders" it will fail "Error The paid receipt can not be loaded because customer is not valid for this terminal." This happens because there is a condition in "customerLoaded.java" which needs to be removed (https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/blob/3d4db00a5bc27431d1cbb2e50e4cb4cf98646512/src/org/openbravo/retail/posterminal/master/LoadedCustomer.java#L102 [^]) After fixing that problem other problem appears POS2 when the order is loaded executes a call to CRM connector to load the business partner but it does not exists (CRM calls to masterdata) | |||||||
Proposed Solution | 1. Remove mentioned condition from query 2. When we are loading an order using this method (loadedCustomer) POS2 should not try to load customer data from the CRM | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0167409) hgbot (developer) 2024-07-29 06:49 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2823 [^] |
(0167410) hgbot (developer) 2024-07-29 06:50 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1635 [^] |
(0167664) hgbot (developer) 2024-08-02 15:11 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^] Changeset: 12c65df3ac81b8a0fa8671043bcd3b38152278c0 Author: Sreehari Venkataraman <sreehari.venkataraman.ext@openbravo.com> Date: 02-08-2024 13:11:53 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/12c65df3ac81b8a0fa8671043bcd3b38152278c0 [^] Related to ISSUE-56106: enabled fallBack when customer is not part of the master data when order is loaded --- M src/org/openbravo/retail/posterminal/master/LoadedCustomer.java M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/LoadTicketUtils.js --- |
(0167665) hgbot (developer) 2024-08-02 15:11 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1635 [^] |
(0167666) hgbot (developer) 2024-08-02 15:12 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2823 [^] |
(0167667) hgbot (developer) 2024-08-02 15:12 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^] Changeset: 7c5e58478868a4ea37e54bf15f938efed9b87aea Author: Sreehari Venkataraman <sreehari.venkataraman.ext@openbravo.com> Date: 02-08-2024 13:12:26 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/7c5e58478868a4ea37e54bf15f938efed9b87aea [^] Fixes ISSUE-56106: enabled fallBack when customer is not part of the master data when order is loaded --- M web-jspack/org.openbravo.pos2/src/model/ticket/actions/LoadRemoteTicketActions.js --- |
Issue History | |||
Date Modified | Username | Field | Change |
2024-07-24 14:06 | guilleaer | New Issue | |
2024-07-24 14:06 | guilleaer | Assigned To | => Retail |
2024-07-24 14:06 | guilleaer | Triggers an Emergency Pack | => No |
2024-07-24 14:06 | guilleaer | Status | new => acknowledged |
2024-07-24 14:08 | guilleaer | Summary | When an order pointing to a customer which is not part of master data is loaded an error is shown => [RM-15704] When an order pointing to a customer which is not part of master data is loaded an error is shown |
2024-07-24 14:08 | guilleaer | Description Updated | View Revisions |
2024-07-24 14:08 | guilleaer | Steps to Reproduce Updated | View Revisions |
2024-07-24 14:08 | guilleaer | Proposed Solution updated | |
2024-07-25 09:04 | sreehari | Assigned To | Retail => sreehari |
2024-07-25 09:04 | sreehari | Status | acknowledged => scheduled |
2024-07-29 06:49 | hgbot | Note Added: 0167409 | |
2024-07-29 06:50 | hgbot | Note Added: 0167410 | |
2024-08-02 15:11 | hgbot | Note Added: 0167664 | |
2024-08-02 15:11 | hgbot | Note Added: 0167665 | |
2024-08-02 15:12 | hgbot | Note Added: 0167666 | |
2024-08-02 15:12 | hgbot | Resolution | open => fixed |
2024-08-02 15:12 | hgbot | Status | scheduled => closed |
2024-08-02 15:12 | hgbot | Fixed in Version | => 24Q4 |
2024-08-02 15:12 | hgbot | Note Added: 0167667 |
Copyright © 2000 - 2009 MantisBT Group |