Project:
View Revisions: Issue #39218 | [ All Revisions ] [ Back to Issue ] | ||
Summary | 0039218: Hidden value in grid not updating properly from null value when changed via Process | ||
Revision | 2018-12-24 14:19 by jarmendariz | ||
Steps To Reproduce | * Apply the patch file attached to this issue. (39218-scenario.patch) * Recompile using ant smartbuild -Dlocal=no and start Tomcat * Go to Product Window * Filter the grid to select "Orange Juice bio" * Press the "Set Attribute Set Instance" process button in the Toolbar. * In the popup that appears press Done. At this point notice that the console has a log line that shows the following: 2018-12-24 13:29:24,341 [http-bio-8080-exec-14] INFO org.openbravo.materialmgmt.actionhandler.SetAttrSetInstance - Parameter inpmAttributesetinstanceId. Value= * Press again the "Set Attribute Set Instance" button and then "Done" in the popup. Another log line appears showing again that inpmAttributesetinstanceId is empty, but in this case there should be an UUID value: 2018-12-24 13:29:38,250 [http-bio-8080-exec-7] INFO org.openbravo.materialmgmt.actionhandler.SetAttrSetInstance - Parameter inpmAttributesetinstanceId. Value= * Finally close the Product Window and open it again. * Filter the grid to select "Orange Juice bio" * Press the "Set Attribute Set Instance" process button and press "Done" in the popup. This time the correct UUID appears in the log: 2018-12-24 13:30:04,053 [http-bio-8080-exec-2] INFO org.openbravo.materialmgmt.actionhandler.SetAttrSetInstance - Parameter inpmAttributesetinstanceId. Value= 0BD1F69F312D4831A5B36EA184B420DF |
||
Revision | 2018-11-16 10:08 by jarmendariz | ||
Steps To Reproduce | Install AWO modules from their repos. Replace org.openbravo.warehouse.advancedwarehouseoperations by pmods-branches/org.openbravo.warehouse.advancedwarehouseoperations-sdswap (only if project hasn't been merged yet to the main repo) [NEW: the functionality where this issue was reproducible has been removed. But you can update repo to revision d26b0acd6a8b "Backed out 0eebeb155776 FE is able to manage tasks marked as swap" to reproduce it again. Also, org.openbravo.warehouse.advancedwarehouseoperations.distributionorders should be updated to revision e158beaa9407 and .printing.bartender set to version 1.2.100 to make the project compile] Login as Openbravo Change role to AWO-QA Admin, org: US West, Warehouse: US West. Set as default Go to Warehouse Definition window. In "Storage Detail Swap" field group, set Swap Level: Previous level + Assigned tasks, and Swap Area: Warehouse. Save it Go to Warehouse Operations window and search for Apple product Go to Task tab and delete existing record Go to Goods Receipt and create new record for org: US West, Warehouse: US West. Any Business Partner Go to lines and search for Apple, select it. In Attribute Set Value field, press X button first, and then the magnifying button. In Color write Yellow. Press OK Operative Quantity: 10 Storage Bin: Food002 Press Complete and OK. Go to Sales Order window, create new record for org: US West, Warehouse: US West. Any Business Partner Go to lines and enter 150 units of apple. Press Book and OK. Now Press Pick and Done. Verify a success message is shown informing about the creation of 1 task. In Sales Order header, select previous record and press the clone button and Yes. In the new order, go to lines and change quantity to 10. Press Book and OK. Now Press Pick and Done. Verify a success message is shown informing about the creation of 1 task. Now select the Apple line and open Task tab. Select the unique task in GRID mode. In eclipse, set a conditional break point on AdvancedQueryBuilder.addFilterParameter() method, with condition: key.equals("@OBAWO_Task.swapWithStorageDetail@"). Press "Swap Storage Detail" button. In eclipse, verify value is "", but it should be null because this column is null [WRONG] Continue the thread execution and cancel the popup. Now open the task in FORM view and press "Swap Storage Detail" again. In eclipse, verify value is "", but it should be null because this column is null [WRONG]. Continue the thread execution and this time select the record in the P&E and press Done. This will set the OBAWO_Task.swapWithStorageDetail column to the selected record. In FORM view, press again the "Swap Storage Detail". In eclipse verify the value is a UUID [OK]. Continue the thread execution. Cancel the popup and change to GRID view and press "Swap Storage Detail" again. In eclipse, verify value is "", but it should be the same UUID as in form view [WRONG] |
||
Revision | 2018-09-05 09:57 by vmromanos | ||
Steps To Reproduce | Install AWO modules from their repos. Replace org.openbravo.warehouse.advancedwarehouseoperations by pmods-branches/org.openbravo.warehouse.advancedwarehouseoperations-sdswap (only if project hasn't been merged yet to the main repo) [NEW: the functionality where this issue was reproducible has been removed. But you can update repo to revision d26b0acd6a8b "Backed out 0eebeb155776 FE is able to manage tasks marked as swap" to reproduce it again] Login as Openbravo Change role to AWO-QA Admin, org: US West, Warehouse: US West. Set as default Go to Warehouse Definition window. In "Storage Detail Swap" field group, set Swap Level: Previous level + Assigned tasks, and Swap Area: Warehouse. Save it Go to Warehouse Operations window and search for Apple product Go to Task tab and delete existing record Go to Goods Receipt and create new record for org: US West, Warehouse: US West. Any Business Partner Go to lines and search for Apple, select it. In Attribute Set Value field, press X button first, and then the magnifying button. In Color write Yellow. Press OK Operative Quantity: 10 Storage Bin: Food002 Press Complete and OK. Go to Sales Order window, create new record for org: US West, Warehouse: US West. Any Business Partner Go to lines and enter 150 units of apple. Press Book and OK. Now Press Pick and Done. Verify a success message is shown informing about the creation of 1 task. In Sales Order header, select previous record and press the clone button and Yes. In the new order, go to lines and change quantity to 10. Press Book and OK. Now Press Pick and Done. Verify a success message is shown informing about the creation of 1 task. Now select the Apple line and open Task tab. Select the unique task in GRID mode. In eclipse, set a conditional break point on AdvancedQueryBuilder.addFilterParameter() method, with condition: key.equals("@OBAWO_Task.swapWithStorageDetail@"). Press "Swap Storage Detail" button. In eclipse, verify value is "", but it should be null because this column is null [WRONG] Continue the thread execution and cancel the popup. Now open the task in FORM view and press "Swap Storage Detail" again. In eclipse, verify value is "", but it should be null because this column is null [WRONG]. Continue the thread execution and this time select the record in the P&E and press Done. This will set the OBAWO_Task.swapWithStorageDetail column to the selected record. In FORM view, press again the "Swap Storage Detail". In eclipse verify the value is a UUID [OK]. Continue the thread execution. Cancel the popup and change to GRID view and press "Swap Storage Detail" again. In eclipse, verify value is "", but it should be the same UUID as in form view [WRONG] |
||
Revision | 2018-09-03 18:47 by vmromanos | ||
Steps To Reproduce | Install AWO modules from their repos. Replace org.openbravo.warehouse.advancedwarehouseoperations by pmods-branches/org.openbravo.warehouse.advancedwarehouseoperations-sdswap (only if project hasn't been merged yet to the main repo) Login as Openbravo Change role to AWO-QA Admin, org: US West, Warehouse: US West. Set as default Go to Warehouse Definition window. In "Storage Detail Swap" field group, set Swap Level: Previous level + Assigned tasks, and Swap Area: Warehouse. Save it Go to Warehouse Operations window and search for Apple product Go to Task tab and delete existing record Go to Goods Receipt and create new record for org: US West, Warehouse: US West. Any Business Partner Go to lines and search for Apple, select it. In Attribute Set Value field, press X button first, and then the magnifying button. In Color write Yellow. Press OK Operative Quantity: 10 Storage Bin: Food002 Press Complete and OK. Go to Sales Order window, create new record for org: US West, Warehouse: US West. Any Business Partner Go to lines and enter 150 units of apple. Press Book and OK. Now Press Pick and Done. Verify a success message is shown informing about the creation of 1 task. In Sales Order header, select previous record and press the clone button and Yes. In the new order, go to lines and change quantity to 10. Press Book and OK. Now Press Pick and Done. Verify a success message is shown informing about the creation of 1 task. Now select the Apple line and open Task tab. Select the unique task in GRID mode. In eclipse, set a conditional break point on AdvancedQueryBuilder.addFilterParameter() method, with condition: key.equals("@OBAWO_Task.swapWithStorageDetail@"). Press "Swap Storage Detail" button. In eclipse, verify value is "", but it should be null because this column is null [WRONG] Continue the thread execution and cancel the popup. Now open the task in FORM view and press "Swap Storage Detail" again. In eclipse, verify value is "", but it should be null because this column is null [WRONG]. Continue the thread execution and this time select the record in the P&E and press Done. This will set the OBAWO_Task.swapWithStorageDetail column to the selected record. In FORM view, press again the "Swap Storage Detail". In eclipse verify the value is a UUID [OK]. Continue the thread execution. Cancel the popup and change to GRID view and press "Swap Storage Detail" again. In eclipse, verify value is "", but it should be the same UUID as in form view [WRONG] |
Copyright © 2000 - 2009 MantisBT Group |