Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0056861 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2024-10-22 16:23 | 2025-01-14 11:25 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | caristu | |||||||
Priority | high | Resolution | fixed | Fixed in Version | PR25Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
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) | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|||||||||
|
![]() |
|
(0170765) hgbot (developer) 2024-10-22 16:35 |
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1403 [^] |
(0171287) hgbot (developer) 2024-11-04 12:44 |
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1403 [^] |
(0171288) hgbot (developer) 2024-11-04 12:44 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/openbravo [^] Changeset: 043702feb5c119aeeaeed9531fc125df0d3aeb8b Author: Carlos Aristu <c.aristu@orisha.com> Date: 04-11-2024 11:44:31 URL: https://gitlab.com/openbravo/product/openbravo/-/commit/043702feb5c119aeeaeed9531fc125df0d3aeb8b [^] fixes BUG-56861: Incorrect record selection when executing a process in tree view --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-parameter-window-view.js --- |
![]() |
|||
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 | View Revisions |
2025-01-14 11:25 | caristu | Steps to Reproduce Updated | View Revisions |
Copyright © 2000 - 2009 MantisBT Group |