Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||
View Issue Details | |||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0056861 | Openbravo ERP | A. Platform | public | 2024-10-22 16:23 | 2025-01-14 11:25 | ||||||||
Reporter | caristu | ||||||||||||
Assigned To | caristu | ||||||||||||
Priority | high | Severity | minor | Reproducibility | have not tried | ||||||||
Status | closed | Resolution | fixed | ||||||||||
Platform | OS | 5 | OS Version | ||||||||||
Product Version | |||||||||||||
Target Version | Fixed in Version | PR25Q1 | |||||||||||
Merge Request Status | approved | ||||||||||||
Review Assigned To | |||||||||||||
OBNetwork customer | No | ||||||||||||
Web browser | |||||||||||||
Modules | Core | ||||||||||||
Support ticket | |||||||||||||
Regression level | |||||||||||||
Regression date | |||||||||||||
Regression introduced in release | |||||||||||||
Regression introduced by commit | |||||||||||||
Triggers an Emergency Pack | No | ||||||||||||
Summary | 0056861: Handlers receive incorrect selection when the process is executed in tree view | ||||||||||||
Description | The handlers of standard process definitions[1] receive an incorrect selection when the process in triggered in a standard tab displaying the tree view. [1]https://wiki.openbravo.com/wiki/How_to_create_a_Standard_Process_Definition [^] | ||||||||||||
Steps To Reproduce | 1) Navigate to a window that supports being displayed in tree view and that allows to executed an standard process 2) Switch to the tree view, select any record and run the process 3) Note that in the handler, inside the doExecute method if we do: JSONObject data = new JSONObject(content); JSONArray ids = data.getJSONArray("recordIds"); Note that inside "ids" there is not the id of the selected record To test this with an existing use case: 1) Login as AWO QA Admin role 2) Go to the Warehouse Definition window, select the US West Coast window and switch to the Stock Incident subtab. Create a new record for any reason leaving the Inventory Transaction Type field empty and manual stock incident unchecked. In the Action subtab, create a new record with Action=None, Approval=Before Action Execution and Content=Handling Units 3) Go to the Warehouse Operations window, select the record with Banana and Attribute Set value "BB1000005" and execute the Move process 4) Go to the Picking List window, select the record created for the previous generated movement and click in Confirm Pickin List process 5) In the confirmation popup, create a new stock incident record for the reason configured in step 2. Multiple stock incidents should have been created. 6) Finally, go to the Stock Incident window, switch to the tree view and select the parent stock incident generated by step 5). Click on the Approve button. (Note that the Approve process uses the StockIncidentApprovalHandler which reads the records as explained above) | ||||||||||||
Proposed Solution | |||||||||||||
Additional Information | |||||||||||||
Tags | No tags attached. | ||||||||||||
Relationships |
| ||||||||||||
Attached Files | |||||||||||||
Issue History | |||||||||||||
Date Modified | Username | Field | Change | ||||||||||
2024-10-22 16:23 | caristu | New Issue | |||||||||||
2024-10-22 16:23 | caristu | Assigned To | => caristu | ||||||||||
2024-10-22 16:23 | caristu | OBNetwork customer | => No | ||||||||||
2024-10-22 16:23 | caristu | Modules | => Core | ||||||||||
2024-10-22 16:23 | caristu | Triggers an Emergency Pack | => No | ||||||||||
2024-10-22 16:23 | caristu | Relationship added | related to 0056443 | ||||||||||
2024-10-22 16:24 | caristu | Relationship deleted | related to 0056443 | ||||||||||
2024-10-22 16:24 | caristu | Relationship added | blocks 0056443 | ||||||||||
2024-10-22 16:35 | hgbot | Merge Request Status | => open | ||||||||||
2024-10-22 16:35 | hgbot | Note Added: 0170765 | |||||||||||
2024-11-04 12:44 | hgbot | Merge Request Status | open => approved | ||||||||||
2024-11-04 12:44 | hgbot | Note Added: 0171287 | |||||||||||
2024-11-04 12:44 | hgbot | Resolution | open => fixed | ||||||||||
2024-11-04 12:44 | hgbot | Status | new => closed | ||||||||||
2024-11-04 12:44 | hgbot | Fixed in Version | => PR25Q1 | ||||||||||
2024-11-04 12:44 | hgbot | Note Added: 0171288 | |||||||||||
2025-01-14 11:25 | caristu | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=29050#r29050 | ||||||||||
2025-01-14 11:25 | caristu | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=29051#r29051 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|