Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0056861Openbravo ERPA. Platformpublic2024-10-22 16:232024-11-04 12:44
caristu 
caristu 
highminorhave not tried
closedfixed 
5
 
PR25Q1 
Core
No
0056861: Handlers receive incorrect selection when the process is executed in tree view
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 [^]
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
No tags attached.
blocks feature request 0056443 closed caristu Modules Support Delta/Stock Incident when confirming group of tasks from back office 
Issue History
2024-10-22 16:23caristuNew Issue
2024-10-22 16:23caristuAssigned To => caristu
2024-10-22 16:23caristuModules => Core
2024-10-22 16:23caristuTriggers an Emergency Pack => No
2024-10-22 16:23caristuRelationship addedrelated to 0056443
2024-10-22 16:24caristuRelationship deletedrelated to 0056443
2024-10-22 16:24caristuRelationship addedblocks 0056443
2024-10-22 16:35hgbotNote Added: 0170765
2024-11-04 12:44hgbotNote Added: 0171287
2024-11-04 12:44hgbotResolutionopen => fixed
2024-11-04 12:44hgbotStatusnew => closed
2024-11-04 12:44hgbotFixed in Version => PR25Q1
2024-11-04 12:44hgbotNote Added: 0171288

Notes
(0170765)
hgbot   
2024-10-22 16:35   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1403 [^]
(0171287)
hgbot   
2024-11-04 12:44   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1403 [^]
(0171288)
hgbot   
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
---