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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0038991
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Advanced Warehouse Operationsminoralways2018-07-19 12:202018-09-24 10:00
ReporterdmiguelezView Statuspublic 
Assigned Todmiguelez 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisione873fc39b8cc
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned Toguilleaer
Regression introduced in release
Summary

0038991: Do not log unnecessary exceptions in Errors While Processing Tasks Window

DescriptionDo not log unnecessary exceptions in Errors While Processing Tasks Window.

There are some expected exceptions that should not be logged in this Window, because the user does not need to perform further actions:
  - Error when there is no Task to Confirm in a Group of Tasks
  - Error when a confirmed Task is being updated
  - Error when trying to process a confirmed Task

This exceptions should be handled but not logged in this window.
Steps To ReproduceWith AWO and AWO SampleData installed

Log in as AWO QA Admin

Go to Purchase Order Window and create a new record with:
  - Organization: US West Coast
  - Business Partner: Be Soft Drinker
  - Warehouse: US West Coast
Move to Lines Tab and create a new record with:
  - Product: Ale Beer
  - Operative Quantity: 10
Book the document

Click on Receive button and assign the Task to Openbravo. Click on Done.

Now it is necessary to open a new Tab in Front End mode and have both BE and FE open at the same time.
In FE the Task should be shown.

In BE, move to Task tab under the Lines and click on Confirm and done.

In the FE click on confirm.
A pop up shows noticing that an exception has happened.

In the Backend, there is an entry in the Errors While Processing Tasks window related to this Task.

This should not happen, this error should not be logged in this window.
TagsNo tags attached.
Attached Filesdiff file icon 38991ProposedSolution.diff [^] (4,104 bytes) 2018-07-19 12:21 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0106642)
guilleaer (developer)
2018-09-07 14:42
edited on: 2018-09-07 14:43

After the fix of issue 39039 errors which comes from OBException are saved in error while importing with the flag BLOCKS = false.

Only errors which make sense to be shown to the user should be saved in errors while importing. Those which blocks the task should have the flag BLOCKS = true and those who just want to inform with BLOCKS = false

Ex:
Delta generation problem -> User should see the error, but the task should not be blocked

Problem confirming task because an stock issue -> User should see the error and the task should be blocked

Task already confirmed -> should not be saved, neither shown to the user.

(0106813)
hgbot (developer)
2018-09-17 17:15

Repository: erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations
Changeset: a777a2e3e4fe67ed6c93208492070157ca915357
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Mon Sep 17 12:20:18 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations/rev/a777a2e3e4fe67ed6c93208492070157ca915357 [^]

Fixes Issue 38991. Allow to decide if an exception is going to be
saved and if it is going to block the current Task

* Added two flags in OBAWOExcpetion class, Blocks and Save
  This flags allows to state if the exception will be saved
  and, if so, if it will block the current Task until the
  exception is fixed
* Changed OBException with OBAWOException for
  - Exception when Group of Tasks does not have any Task to process
  - Not possible to update Task because it is already processed
* Save OBAWOException with no Blocks flag for
  - Delta Management exception
  - Trying to confirm an already confirmed Task

---
M src/org/openbravo/warehouse/advancedwarehouseoperations/centralbroker/DeltaManagerDifferent.java
M src/org/openbravo/warehouse/advancedwarehouseoperations/centralbroker/GroupOfTasksConfirmator.java
M src/org/openbravo/warehouse/advancedwarehouseoperations/eventobserver/TaskEventObserver.java
M src/org/openbravo/warehouse/advancedwarehouseoperations/mobile/processors/TaskProcessor.java
M src/org/openbravo/warehouse/advancedwarehouseoperations/mobile/sync/AWODataSynchronizationErrorHandler.java
M src/org/openbravo/warehouse/advancedwarehouseoperations/utils/OBAWOException.java
---
(0106814)
hgbot (developer)
2018-09-17 17:15

Repository: erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations
Changeset: 222efbc4e293d03c8bc03caf6fb600dc7810a6fd
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Mon Sep 17 16:15:15 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations/rev/222efbc4e293d03c8bc03caf6fb600dc7810a6fd [^]

Related to Issue 38991. Refactor of method to reduce
cognitive complexity.

* Split method into smaller ones
* Remove clutter
* Add final modifiers to variables
* Set proper names
* Add missing Override annotation

---
M src/org/openbravo/warehouse/advancedwarehouseoperations/mobile/sync/AWODataSynchronizationErrorHandler.java
---
(0106815)
hgbot (developer)
2018-09-17 17:15

Repository: erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations
Changeset: 8d00a13b2f6bc1e6357ef7b9ca4eb70f0805abe3
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Mon Sep 17 16:48:22 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations/rev/8d00a13b2f6bc1e6357ef7b9ca4eb70f0805abe3 [^]

Related to Issue 38991. Fix casting to OBAWOException

---
M src/org/openbravo/warehouse/advancedwarehouseoperations/mobile/sync/AWODataSynchronizationErrorHandler.java
---
(0106820)
hgbot (developer)
2018-09-17 18:51

Repository: erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations
Changeset: 1ae17678d0ed6fc784d6d250f935f6c951788278
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Mon Sep 17 18:50:37 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations/rev/1ae17678d0ed6fc784d6d250f935f6c951788278 [^]

Related to issue 38991: Fix some small errors related to error management

* Add picking list columns (now grouping can come also from picking)
* Fix some typos
* Fix error when grouping document is retrieved from db

---
M src-db/database/model/tables/OBAWO_ERRORS.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_REFERENCE.xml
M src-db/database/sourcedata/AD_REF_TABLE.xml
M src-db/database/sourcedata/AD_TAB.xml
M src/org/openbravo/warehouse/advancedwarehouseoperations/mobile/processors/ReceptionListProcessor.java
M src/org/openbravo/warehouse/advancedwarehouseoperations/mobile/sync/AWODataSynchronizationErrorHandler.java
---
(0106828)
hgbot (developer)
2018-09-18 10:17

Repository: retail/backports/AWO/3.0RR18Q3/org.openbravo.warehouse.advancedwarehouseoperations
Changeset: e873fc39b8cc01e0a460c393fa038d32e1462048
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Mon Sep 17 12:20:18 2018 +0200
URL: http://code.openbravo.com/retail/backports/AWO/3.0RR18Q3/org.openbravo.warehouse.advancedwarehouseoperations/rev/e873fc39b8cc01e0a460c393fa038d32e1462048 [^]

Fixes Issue 38991. Allow to decide if an exception is going to be
saved and if it is going to block the current Task

* Added two flags in OBAWOExcpetion class, Blocks and Save
  This flags allows to state if the exception will be saved
  and, if so, if it will block the current Task until the
  exception is fixed
* Changed OBException with OBAWOException for
  - Exception when Group of Tasks does not have any Task to process
  - Not possible to update Task because it is already processed
* Save OBAWOException with no Blocks flag for
  - Delta Management exception
  - Trying to confirm an already confirmed Task

---
M src/org/openbravo/warehouse/advancedwarehouseoperations/centralbroker/DeltaManagerDifferent.java
M src/org/openbravo/warehouse/advancedwarehouseoperations/centralbroker/GroupOfTasksConfirmator.java
M src/org/openbravo/warehouse/advancedwarehouseoperations/eventobserver/TaskEventObserver.java
M src/org/openbravo/warehouse/advancedwarehouseoperations/mobile/processors/TaskProcessor.java
M src/org/openbravo/warehouse/advancedwarehouseoperations/mobile/sync/AWODataSynchronizationErrorHandler.java
M src/org/openbravo/warehouse/advancedwarehouseoperations/utils/OBAWOException.java
---
(0106829)
hgbot (developer)
2018-09-18 10:17

Repository: retail/backports/AWO/3.0RR18Q3/org.openbravo.warehouse.advancedwarehouseoperations
Changeset: a1e849c1188997b327789eb57fb1f817ba9dff65
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Mon Sep 17 16:15:15 2018 +0200
URL: http://code.openbravo.com/retail/backports/AWO/3.0RR18Q3/org.openbravo.warehouse.advancedwarehouseoperations/rev/a1e849c1188997b327789eb57fb1f817ba9dff65 [^]

Related to Issue 38991. Refactor of method to reduce
cognitive complexity.

* Split method into smaller ones
* Remove clutter
* Add final modifiers to variables
* Set proper names
* Add missing Override annotation

---
M src/org/openbravo/warehouse/advancedwarehouseoperations/mobile/sync/AWODataSynchronizationErrorHandler.java
---
(0106830)
hgbot (developer)
2018-09-18 10:17

Repository: retail/backports/AWO/3.0RR18Q3/org.openbravo.warehouse.advancedwarehouseoperations
Changeset: b80178ebc96a593b5a8e3ff98a40954a206a8f35
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Mon Sep 17 16:48:22 2018 +0200
URL: http://code.openbravo.com/retail/backports/AWO/3.0RR18Q3/org.openbravo.warehouse.advancedwarehouseoperations/rev/b80178ebc96a593b5a8e3ff98a40954a206a8f35 [^]

Related to Issue 38991. Fix casting to OBAWOException

---
M src/org/openbravo/warehouse/advancedwarehouseoperations/mobile/sync/AWODataSynchronizationErrorHandler.java
---
(0106831)
hgbot (developer)
2018-09-18 10:17

Repository: retail/backports/AWO/3.0RR18Q3/org.openbravo.warehouse.advancedwarehouseoperations
Changeset: 296b88f1dca498d8905ae847d250c0c0ee2e6341
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Mon Sep 17 18:50:37 2018 +0200
URL: http://code.openbravo.com/retail/backports/AWO/3.0RR18Q3/org.openbravo.warehouse.advancedwarehouseoperations/rev/296b88f1dca498d8905ae847d250c0c0ee2e6341 [^]

Related to issue 38991: Fix some small errors related to error management

* Add picking list columns (now grouping can come also from picking)
* Fix some typos
* Fix error when grouping document is retrieved from db

---
M src-db/database/model/tables/OBAWO_ERRORS.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_REFERENCE.xml
M src-db/database/sourcedata/AD_REF_TABLE.xml
M src-db/database/sourcedata/AD_TAB.xml
M src/org/openbravo/warehouse/advancedwarehouseoperations/mobile/processors/ReceptionListProcessor.java
M src/org/openbravo/warehouse/advancedwarehouseoperations/mobile/sync/AWODataSynchronizationErrorHandler.java
---
(0106948)
hgbot (developer)
2018-09-24 09:59

Repository: erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations
Changeset: bb6b986d9e405da62a9529784b2f92b88b6e012f
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Mon Sep 24 09:58:20 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations/rev/bb6b986d9e405da62a9529784b2f92b88b6e012f [^]

Related to issue 38991: Child task error should not be removed individually

---
M src-db/database/sourcedata/AD_TABLE.xml
---
(0106949)
hgbot (developer)
2018-09-24 10:00

Repository: retail/backports/AWO/3.0RR18Q3/org.openbravo.warehouse.advancedwarehouseoperations
Changeset: 224b7e2eaae9291ebdfabb4bd224f97beb0d0e46
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Mon Sep 24 09:58:20 2018 +0200
URL: http://code.openbravo.com/retail/backports/AWO/3.0RR18Q3/org.openbravo.warehouse.advancedwarehouseoperations/rev/224b7e2eaae9291ebdfabb4bd224f97beb0d0e46 [^]

Related to issue 38991: Child task error should not be removed individually

---
M src-db/database/sourcedata/AD_TABLE.xml
---

- Issue History
Date Modified Username Field Change
2018-07-19 12:20 dmiguelez New Issue
2018-07-19 12:20 dmiguelez Assigned To => dmiguelez
2018-07-19 12:21 dmiguelez File Added: 38991ProposedSolution.diff
2018-07-25 09:36 VictorVillar Resolution time => 1535666400
2018-08-06 14:25 Sandrahuguet Resolution time 1535666400 =>
2018-08-14 10:28 VictorVillar Resolution time => 1535666400
2018-09-07 14:42 guilleaer Note Added: 0106642
2018-09-07 14:43 guilleaer Note Edited: 0106642 View Revisions
2018-09-17 17:15 hgbot Checkin
2018-09-17 17:15 hgbot Note Added: 0106813
2018-09-17 17:15 hgbot Status new => resolved
2018-09-17 17:15 hgbot Resolution open => fixed
2018-09-17 17:15 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations/rev/a777a2e3e4fe67ed6c93208492070157ca915357 [^]
2018-09-17 17:15 hgbot Checkin
2018-09-17 17:15 hgbot Note Added: 0106814
2018-09-17 17:15 hgbot Checkin
2018-09-17 17:15 hgbot Note Added: 0106815
2018-09-17 17:16 dmiguelez Review Assigned To => guilleaer
2018-09-17 18:51 hgbot Checkin
2018-09-17 18:51 hgbot Note Added: 0106820
2018-09-18 10:17 hgbot Checkin
2018-09-18 10:17 hgbot Note Added: 0106828
2018-09-18 10:17 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations/rev/a777a2e3e4fe67ed6c93208492070157ca915357 [^] => http://code.openbravo.com/retail/backports/AWO/3.0RR18Q3/org.openbravo.warehouse.advancedwarehouseoperations/rev/e873fc39b8cc01e0a460c393fa038d32e1462048 [^]
2018-09-18 10:17 hgbot Checkin
2018-09-18 10:17 hgbot Note Added: 0106829
2018-09-18 10:17 hgbot Checkin
2018-09-18 10:17 hgbot Note Added: 0106830
2018-09-18 10:17 hgbot Checkin
2018-09-18 10:17 hgbot Note Added: 0106831
2018-09-24 09:59 hgbot Checkin
2018-09-24 09:59 hgbot Note Added: 0106948
2018-09-24 10:00 hgbot Checkin
2018-09-24 10:00 hgbot Note Added: 0106949
2018-09-24 10:00 guilleaer Status resolved => closed
2022-09-06 17:18 caristu Category Advance Warehouse Operations => Advanced Warehouse Operations


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker