Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0037591 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Modules] Advanced Warehouse Operations | major | always | 2018-01-05 14:19 | 2018-02-06 18:32 | |||
Reporter | ngarcia | View Status | public | |||||
Assigned To | guilleaer | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 86ad6f1d89f8 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Regression date | ||||||||
Regression introduced by commit | ||||||||
Regression level | ||||||||
Review Assigned To | marvintm | |||||||
Regression introduced in release | ||||||||
Summary | 0037591: [AWOFE] Cannot process a task if a new value is set for an attribute in Picking task | |||||||
Description | [AWOFE] Cannot process a task if a new value is set for an attribute in Picking task When a product is received without a value in an attribute that belongs to an attribute set a new entry is created in m_attributeinstance table with value = null. Then, when we assign a value to the attribute in the picking process, in OBAWOMobileUtils.updateAttributeSetInstance function, a NullPointerException is launched in the following line: if (!foundAttInstance.getSearchKey().equals(attValue)) { | |||||||
Steps To Reproduce | - Having an attribute set which includes a not mandatory instance attribute - Receive stock of a product with an empty value in the attribute - Create a sales order for that product - In the front end, open Pick menu entry, select the previously created sales order and generate task - Edit the task and add a value for the attribute - Check the task goes to Errors while processing tasks with the following error: org.openbravo.base.exception.OBException: Unexpected exception processing task: null at org.openbravo.warehouse.advancedwarehouseoperations.mobile.processors.TaskProcessor.exec(TaskProcessor.java:48) at org.openbravo.warehouse.advancedwarehouseoperations.mobile.sync.TaskLoader.saveRecord(TaskLoader.java:43) at org.openbravo.warehouse.advancedwarehouseoperations.mobile.sync.AWOOnlineTaskSynchronizer.exec(AWOOnlineTaskSynchronizer.java:82)... | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0101698) hgbot (developer) 2018-01-15 16:16 |
Repository: erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations Changeset: 86ad6f1d89f8ebf4d21f65f4eaa399e9dd186a57 Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com> Date: Mon Jan 15 16:16:34 2018 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations/rev/86ad6f1d89f8ebf4d21f65f4eaa399e9dd186a57 [^] Fixed issue 37591: Pick with not mandatory attributes is working fine - The problem happened trying to change an attribute which was created with null value. - When attribute is going to be modified, first we will check if the value is null before compare it with the new value --- M src/org/openbravo/warehouse/advancedwarehouseoperations/mobile/OBAWOMobileUtils.java --- |
(0101701) hgbot (developer) 2018-01-15 16:24 |
Repository: erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations Changeset: 22c66e8d3b29d12077b0d3250976462390f63bd6 Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com> Date: Mon Jan 15 16:24:06 2018 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations/rev/22c66e8d3b29d12077b0d3250976462390f63bd6 [^] Related to issue 37591: update license year --- M src/org/openbravo/warehouse/advancedwarehouseoperations/mobile/OBAWOMobileUtils.java --- |
Issue History | |||
Date Modified | Username | Field | Change |
2018-01-05 14:19 | ngarcia | New Issue | |
2018-01-05 14:19 | ngarcia | Assigned To | => dmiguelez |
2018-01-05 14:20 | ngarcia | Issue Monitored: networkb | |
2018-01-05 14:27 | dmiguelez | Assigned To | dmiguelez => guilleaer |
2018-01-09 16:44 | ngarcia | Resolution time | => 1517266800 |
2018-01-15 13:10 | maite | Issue Monitored: maite | |
2018-01-15 16:16 | hgbot | Checkin | |
2018-01-15 16:16 | hgbot | Note Added: 0101698 | |
2018-01-15 16:16 | hgbot | Status | new => resolved |
2018-01-15 16:16 | hgbot | Resolution | open => fixed |
2018-01-15 16:16 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations/rev/86ad6f1d89f8ebf4d21f65f4eaa399e9dd186a57 [^] |
2018-01-15 16:24 | hgbot | Checkin | |
2018-01-15 16:24 | hgbot | Note Added: 0101701 | |
2018-02-06 18:32 | marvintm | Review Assigned To | => marvintm |
2018-02-06 18:32 | marvintm | Status | resolved => closed |
2022-09-06 17:18 | caristu | Category | Advance Warehouse Operations => Advanced Warehouse Operations |
Copyright © 2000 - 2009 MantisBT Group |