Openbravo Issue Tracking System - Modules
View Issue Details
0051986ModulesDistribution Order for Advanced Warehouse Operationspublic2023-03-27 15:182023-04-04 09:05
migueldejuana 
AtulOpenbravo 
normalminoralways
closedfixed 
5
 
 
2023-01-04
https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/-/commit/4a9ebeb029636b3a5d5545f5b9037777cdd68457 [^]
Coding ( Testing )
0051986: Loading a DO OTF created in the backend has error when line is clicked.
- When loading in the frontend a DO OTF created in Backoffice, clicking on the line, we get this error: "Cannot invoke "org.openbravo.model.materialmgmt.onhandquantity.ReservationStock.getReservation()" because "reservedStock" is null"
- Create a DO OTF in the Backoffice with 1 line of Banana
- Login in AWO with AWO_US_W and select the created DO
- Click on the line
- ERROR! "Cannot invoke "org.openbravo.model.materialmgmt.onhandquantity.ReservationStock.getReservation()" because "reservedStock" is null"
- Fix the issue and modify the test to ensure that this doesn't happen again
No tags attached.
Issue History
2023-03-27 15:18migueldejuanaNew Issue
2023-03-27 15:18migueldejuanaAssigned To => AtulOpenbravo
2023-03-27 15:18migueldejuanaRegression date => 2023-01-04
2023-03-27 15:18migueldejuanaRegression introduced by commit => https://gitlab.com/openbravo/devel/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/-/commit/4a9ebeb029636b3a5d5545f5b9037777cdd68457 [^]
2023-03-27 15:18migueldejuanaRegression level => Coding ( Testing )
2023-03-27 15:37AtulOpenbravoRegression introduced by commithttps://gitlab.com/openbravo/devel/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/-/commit/4a9ebeb029636b3a5d5545f5b9037777cdd68457 [^] => https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/-/commit/4a9ebeb029636b3a5d5545f5b9037777cdd68457 [^]
2023-03-27 17:04AtulOpenbravoStatusnew => scheduled
2023-03-28 13:54AtulOpenbravoSummaryLoading a DO OTF created in the backend is shown as Completed => Loading a DO OTF created in the backend has error when line is clicked.
2023-03-28 13:54AtulOpenbravoDescription Updatedbug_revision_view_page.php?rev_id=25775#r25775
2023-03-28 13:54AtulOpenbravoSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=25777#r25777
2023-03-28 13:57hgbotNote Added: 0148027
2023-03-31 07:56hgbotNote Added: 0148141
2023-04-03 16:54hgbotResolutionopen => fixed
2023-04-03 16:54hgbotStatusscheduled => closed
2023-04-03 16:54hgbotNote Added: 0148212
2023-04-03 16:54hgbotNote Added: 0148213
2023-04-03 16:54hgbotNote Added: 0148214
2023-04-04 09:05hgbotNote Added: 0148224
2023-04-04 09:05hgbotNote Added: 0148225
2023-04-04 09:05hgbotNote Added: 0148226

Notes
(0148027)
hgbot   
2023-03-28 13:57   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/-/merge_requests/58 [^]
(0148141)
hgbot   
2023-03-31 07:56   
Merge Request created: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/282 [^]
(0148212)
hgbot   
2023-04-03 16:54   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders [^]
Changeset: 3e3bbbf6cf5158ae5fbb1982fa25c73d7d7184b3
Author: Atul Gaware <atul.gaware@openbravo.com>
Date: 31-03-2023 20:01:41
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/-/commit/3e3bbbf6cf5158ae5fbb1982fa25c73d7d7184b3 [^]

Fixes BUG-0051986: Loading a DO OTF created in the backend has NPE error
when line is clicked.

**Handle NPE is there is no reserved stock.

---
M src/org/openbravo/warehouse/advancedwarehouseoperations/distributionorders/mobile/processors/DistributionOrderEventsProcessor.java
---
(0148213)
hgbot   
2023-04-03 16:54   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders [^]
Changeset: 55daf2d4011c3350ed96b17679ed99f575a3f2de
Author: Atul Gaware <atul.gaware@openbravo.com>
Date: 31-03-2023 20:01:41
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/-/commit/55daf2d4011c3350ed96b17679ed99f575a3f2de [^]

Related to BUG-0051986: Loading a DO OTF created in the backend.

**When closing product detail card, if the locator in the DO line
is empty or blank, Quantity Counter is not shown in the DO Line.

---
M web/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/source/obawo-distributionorder-view.js
---
(0148214)
hgbot   
2023-04-03 16:54   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/-/merge_requests/58 [^]
(0148224)
hgbot   
2023-04-04 09:05   
Repository: https://gitlab.com/openbravo/ci/mobile-test [^]
Changeset: 4b0e5912e20ef20c707154adc72bf051efecd63a
Author: Atul Gaware <atul.gaware@openbravo.com>
Date: 31-03-2023 20:02:18
URL: https://gitlab.com/openbravo/ci/mobile-test/-/commit/4b0e5912e20ef20c707154adc72bf051efecd63a [^]

Related to BUG-0051986: Loading a DO OTF created in the backend
has error when line is clicked.

**Add test to open DO OTF in Front End which was created in Back
Office.
**Click on Line to open up product detail card view and close
the product detail card view.

---
A src-test/org/openbravo/test/mobile/awo/tests/DistributionOrder/OBDOAOTF10_OpenDOOTFCreatedInBO.java
M src-test/org/openbravo/test/mobile/awo/utilities/TestIdAwo.java
---
(0148225)
hgbot   
2023-04-04 09:05   
Repository: https://gitlab.com/openbravo/ci/mobile-test [^]
Changeset: 4541db28870f67fd5cbba92285c0c80b8aab9982
Author: Atul Gaware <atul.gaware@openbravo.com>
Date: 03-04-2023 15:00:34
URL: https://gitlab.com/openbravo/ci/mobile-test/-/commit/4541db28870f67fd5cbba92285c0c80b8aab9982 [^]

Related To BUG-0051986: Loading a DO OTF created in the backend
has NPE error when line is clicked.

**Rename tests.

---
A src-test/org/openbravo/test/mobile/awo/tests/DistributionOrder/OBDOA010_BasicDOFromScratch.java
A src-test/org/openbravo/test/mobile/awo/tests/DistributionOrder/OBDOA020_BasicDOFromScratchWithRestrictions.java
A src-test/org/openbravo/test/mobile/awo/tests/DistributionOrder/OBDOA030_CompleteDOCreatedInBO.java
A src-test/org/openbravo/test/mobile/awo/tests/DistributionOrder/OBDOA040_BasicDOExplodeLines.java
A src-test/org/openbravo/test/mobile/awo/tests/DistributionOrder/OBDOA050_DOHistoryFilterByDocNo.java
A src-test/org/openbravo/test/mobile/awo/tests/DistributionOrder/OBDOA060_DOHistoryFilterByFromDate.java
A src-test/org/openbravo/test/mobile/awo/tests/DistributionOrder/OBDOA070_DOHistoryFilterByToDate.java
A src-test/org/openbravo/test/mobile/awo/tests/DistributionOrder/OBDOA080_DOHistoryFilterByWhsReceipt.java
A src-test/org/openbravo/test/mobile/awo/tests/DistributionOrder/OBDOA090_DOHistoryFilterByDocStatus.java
A src-test/org/openbravo/test/mobile/awo/tests/DistributionOrder/OBDOA100_OpenDOOTFLineCreatedInBO.java
M src-test/org/openbravo/test/mobile/awo/tests/DistributionOrder/OBDOANoRes10_BasicDOFromScratch.java
M src-test/org/openbravo/test/mobile/awo/tests/DistributionOrder/OBDOANoRes20_BasicDOFromScratchWithRestrictions.java
M src-test/org/openbravo/test/mobile/awo/tests/DistributionOrder/OBDOANoRes30_CompleteDOCreatedInBO.java
M src-test/org/openbravo/test/mobile/awo/tests/DistributionOrder/OBDOANoRes50_DOHistoryFilterByDocNo.java
M src-test/org/openbravo/test/mobile/awo/tests/DistributionOrder/OBDOANoRes60_DOHistoryFilterByFromDate.java
M src-test/org/openbravo/test/mobile/awo/tests/DistributionOrder/OBDOANoRes70_DOHistoryFilterByToDate.java
M src-test/org/openbravo/test/mobile/awo/tests/DistributionOrder/OBDOANoRes80_DOHistoryFilterByWhsReceipt.java
M src-test/org/openbravo/test/mobile/awo/tests/DistributionOrder/OBDOANoRes90_DOHistoryFilterByDocStatus.java
---
(0148226)
hgbot   
2023-04-04 09:05   
Merge request merged: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/282 [^]