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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051986
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Distribution Order for Advanced Warehouse Operationsminoralways2023-03-27 15:182023-04-04 09:05
ReportermigueldejuanaView Statuspublic 
Assigned ToAtulOpenbravo 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date2023-01-04
Regression introduced by commithttps://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/-/commit/4a9ebeb029636b3a5d5545f5b9037777cdd68457 [^]
Regression levelCoding ( Testing )
Review Assigned To
Regression introduced in release
Summary

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

Description- 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"
Steps To Reproduce- 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"
Proposed Solution- Fix the issue and modify the test to ensure that this doesn't happen again
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0148027)
hgbot (developer)
2023-03-28 13:57

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/-/merge_requests/58 [^]
(0148141)
hgbot (developer)
2023-03-31 07:56

Merge Request created: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/282 [^]
(0148212)
hgbot (developer)
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 (developer)
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 (developer)
2023-04-03 16:54

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/-/merge_requests/58 [^]
(0148224)
hgbot (developer)
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 (developer)
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 (developer)
2023-04-04 09:05

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

- Issue History
Date Modified Username Field Change
2023-03-27 15:18 migueldejuana New Issue
2023-03-27 15:18 migueldejuana Assigned To => AtulOpenbravo
2023-03-27 15:18 migueldejuana Regression date => 2023-01-04
2023-03-27 15:18 migueldejuana Regression introduced by commit => https://gitlab.com/openbravo/devel/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/-/commit/4a9ebeb029636b3a5d5545f5b9037777cdd68457 [^]
2023-03-27 15:18 migueldejuana Regression level => Coding ( Testing )
2023-03-27 15:37 AtulOpenbravo Regression introduced by commit https://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:04 AtulOpenbravo Status new => scheduled
2023-03-28 13:54 AtulOpenbravo Summary Loading 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:54 AtulOpenbravo Description Updated View Revisions
2023-03-28 13:54 AtulOpenbravo Steps to Reproduce Updated View Revisions
2023-03-28 13:57 hgbot Note Added: 0148027
2023-03-31 07:56 hgbot Note Added: 0148141
2023-04-03 16:54 hgbot Resolution open => fixed
2023-04-03 16:54 hgbot Status scheduled => closed
2023-04-03 16:54 hgbot Note Added: 0148212
2023-04-03 16:54 hgbot Note Added: 0148213
2023-04-03 16:54 hgbot Note Added: 0148214
2023-04-04 09:05 hgbot Note Added: 0148224
2023-04-04 09:05 hgbot Note Added: 0148225
2023-04-04 09:05 hgbot Note Added: 0148226


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker