Openbravo Issue Tracking System - POS2 | |||||||||||||
View Issue Details | |||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0051940 | POS2 | POS | public | 2023-03-22 08:58 | 2023-03-23 08:27 | ||||||||
Reporter | caristu | ||||||||||||
Assigned To | caristu | ||||||||||||
Priority | high | Severity | minor | Reproducibility | have not tried | ||||||||
Status | closed | Resolution | fixed | ||||||||||
Platform | OS | 5 | OS Version | ||||||||||
Product Version | |||||||||||||
Target Version | Fixed in Version | 23Q2 | |||||||||||
Merge Request Status | approved | ||||||||||||
Review Assigned To | |||||||||||||
OBNetwork customer | No | ||||||||||||
Support ticket | |||||||||||||
Regression level | |||||||||||||
Regression date | |||||||||||||
Regression introduced in release | |||||||||||||
Regression introduced by commit | |||||||||||||
Triggers an Emergency Pack | No | ||||||||||||
Summary | 0051940: Wrong query in ProductScanProductInfo component | ||||||||||||
Description | The ProductScanProductInfo does a query for retrieving master data information of a product. This query is using a incorrect property on its where clause. | ||||||||||||
Steps To Reproduce | 1) Login in the pos2 2) Go the orders window and select and order to open it 3) After the fix of 0051849 now the query fails. Before that fix, the query seemed to work but it was incorrectly defined. | ||||||||||||
Proposed Solution | Replace the current criteria: const productCriteria = new OB.App.Class.Criteria() .criterion('m_product_id', productId) .limit(1) .build(); with: const productCriteria = new OB.App.Class.Criteria() .criterion('id', productId) .limit(1) .build(); because the "m_product_id" property does not exists in the Product model, "id" must be used instead. | ||||||||||||
Additional Information | |||||||||||||
Tags | No tags attached. | ||||||||||||
Relationships |
| ||||||||||||
Attached Files | |||||||||||||
Issue History | |||||||||||||
Date Modified | Username | Field | Change | ||||||||||
2023-03-22 08:58 | caristu | New Issue | |||||||||||
2023-03-22 08:58 | caristu | Assigned To | => Retail | ||||||||||
2023-03-22 08:58 | caristu | OBNetwork customer | => No | ||||||||||
2023-03-22 08:58 | caristu | Triggers an Emergency Pack | => No | ||||||||||
2023-03-22 08:58 | caristu | Relationship added | related to 0051849 | ||||||||||
2023-03-22 09:00 | caristu | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=25736#r25736 | ||||||||||
2023-03-22 09:01 | caristu | Proposed Solution updated | |||||||||||
2023-03-22 09:58 | hgbot | Merge Request Status | => open | ||||||||||
2023-03-22 09:58 | hgbot | Note Added: 0147823 | |||||||||||
2023-03-22 11:00 | caristu | Assigned To | Retail => caristu | ||||||||||
2023-03-22 12:08 | hgbot | Merge Request Status | open => approved | ||||||||||
2023-03-22 14:04 | hgbot | Resolution | open => fixed | ||||||||||
2023-03-22 14:04 | hgbot | Note Added: 0147842 | |||||||||||
2023-03-22 14:04 | hgbot | Status | new => closed | ||||||||||
2023-03-22 14:05 | hgbot | Fixed in Version | => 23Q2 | ||||||||||
2023-03-22 14:05 | hgbot | Note Added: 0147843 | |||||||||||
2023-03-22 14:06 | caristu | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=25741#r25741 | ||||||||||
2023-03-22 16:39 | hgbot | Note Added: 0147846 | |||||||||||
2023-03-23 08:27 | hgbot | Note Added: 0147870 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|