Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0056861
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2024-10-22 16:232025-01-14 11:25
ReportercaristuView Statuspublic 
Assigned Tocaristu 
PriorityhighResolutionfixedFixed in VersionPR25Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Statusapproved
Review Assigned To
OBNetwork customerNo
Web browser
ModulesCore
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0056861: Handlers receive incorrect selection when the process is executed in tree view

DescriptionThe 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 Reproduce1) 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)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks feature request 0056443 closedcaristu Modules Support Delta/Stock Incident when confirming group of tasks from back office 

-  Notes
(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
---

- 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 View Revisions
2025-01-14 11:25 caristu Steps to Reproduce Updated View Revisions


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker