Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0053917 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [POS2] POS | major | have not tried | 2023-11-13 12:16 | 2023-11-19 11:27 | |||
| Reporter | meriem_azaf | View Status | public | |||||
| Assigned To | meriem_azaf | |||||||
| Priority | normal | Resolution | fixed | Fixed in Version | 24Q1 | |||
| 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 | |||||||
| 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 | 0053917: Error when trying to opening a ticket with two returned lines | |||||||
| Description | When we create a ticket with two returned lines, and then opening it in the Orders window. An error showed "ERROR in PaidReceipts: query did not return a unique result:2". | |||||||
| Steps To Reproduce | 1- Login POS2. 2- Create a new ticket with two products( you can choose what you want). 3- Click in return line button for the two products and try to fill in the inputs in return line dialog. 4- Go to order window and click on the ticket that you did. An error showed "ERROR in PaidReceipts: query did not return a unique result:2". | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
||||||||
|
||||||||
Notes |
|
|
(0157092) hgbot (developer) 2023-11-13 12:25 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2234 [^] |
|
(0157147) hgbot (developer) 2023-11-14 17:38 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.sampledata/-/merge_requests/68 [^] |
|
(0157303) hgbot (developer) 2023-11-19 10:24 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.sampledata [^] Changeset: 63ba81acfc8a9caf6aefd896364fd3d2c907ab8a Author: Meriem Azaf <meriem.azaf@openbravo.com> Date: 16-11-2023 10:32:33 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.sampledata/-/commit/63ba81acfc8a9caf6aefd896364fd3d2c907ab8a [^] Fixes ISSUE-53917: Prepare sampledata for approval reason history, approval inputs history, c_order and c_orderLine --- A referencedata/sampledata/The_White_Valley_Group/C_ORDER.xml A referencedata/sampledata/The_White_Valley_Group/C_ORDERLINE.xml A referencedata/sampledata/The_White_Valley_Group/OBC2_APPROVAL_INPUTS_HIST.xml A referencedata/sampledata/The_White_Valley_Group/OBC2_APPROVAL_REASON_HIST.xml M src-db/database/sourcedata/AD_DATASET_TABLE.xml --- |
|
(0157304) hgbot (developer) 2023-11-19 10:24 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.sampledata/-/merge_requests/68 [^] |
|
(0157307) hgbot (developer) 2023-11-19 11:27 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^] Changeset: fdd83b82f40fe8b2c79a81a967cac2653a940c2e Author: Meriem Azaf <meriem.azaf@openbravo.com> Date: 19-11-2023 10:31:51 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/fdd83b82f40fe8b2c79a81a967cac2653a940c2e [^] Fixes ISSUE-53917: Error when trying to opening a ticket with two returned lines When we create a ticket with two returned lines, and then opening it in the Orders window. An error showed "ERROR in PaidReceipts: query did not return a unique result:2". The problem was in the "getApprovalReasonHistory" that was returning a unique result instead of a list. --- A src-test/org/openbravo/pos2/hook/paidreceipt/AddInputInfoToPaidReceiptTest.java M src-test/org/openbravo/pos2/StandaloneTestSuite.java M src/org/openbravo/pos2/hook/paidreceipt/AddInputInfoToPaidReceipt.java --- |
|
(0157308) hgbot (developer) 2023-11-19 11:27 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2234 [^] |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2023-11-13 12:16 | meriem_azaf | New Issue | |
| 2023-11-13 12:16 | meriem_azaf | Assigned To | => Retail |
| 2023-11-13 12:16 | meriem_azaf | File Added: unnamed (1).png | |
| 2023-11-13 12:16 | meriem_azaf | OBNetwork customer | => No |
| 2023-11-13 12:16 | meriem_azaf | Triggers an Emergency Pack | => No |
| 2023-11-13 12:16 | meriem_azaf | Assigned To | Retail => meriem_azaf |
| 2023-11-13 12:16 | meriem_azaf | Status | new => scheduled |
| 2023-11-13 12:20 | meriem_azaf | Steps to Reproduce Updated | View Revisions |
| 2023-11-13 12:25 | hgbot | Merge Request Status | => open |
| 2023-11-13 12:25 | hgbot | Note Added: 0157092 | |
| 2023-11-13 12:31 | caristu | Relationship added | caused by 0053576 |
| 2023-11-14 17:38 | hgbot | Note Added: 0157147 | |
| 2023-11-19 10:24 | hgbot | Merge Request Status | open => approved |
| 2023-11-19 10:24 | hgbot | Resolution | open => fixed |
| 2023-11-19 10:24 | hgbot | Status | scheduled => closed |
| 2023-11-19 10:24 | hgbot | Fixed in Version | => 24Q1 |
| 2023-11-19 10:24 | hgbot | Note Added: 0157303 | |
| 2023-11-19 10:24 | hgbot | Note Added: 0157304 | |
| 2023-11-19 11:27 | hgbot | Note Added: 0157307 | |
| 2023-11-19 11:27 | hgbot | Note Added: 0157308 | |
| Copyright © 2000 - 2009 MantisBT Group |