Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0030807Openbravo ERPA. Platformpublic2015-09-09 17:102022-02-01 08:09
alostale 
Triage Platform Base 
normalminorhave not tried
newopen 
5
 
 
Core
No
0030807: review login in AdvancedQueryBuilder.substituteContextParameters
Logic in org.openbravo.service.json.AdvancedQueryBuilder.substituteContextParameters method should be reviewed.

There are 2 cases where might be incorrect:

1. Value is tried to be obtained first from session and after from request, request should be more specific than session so it should be done in the other way around. Though this change needs to be carefully verified from the functional point of view.
2. In case it is used for a wherclause in a selector invoked from a P&E opened from a window, tab and window ids are incorrectly obtained (they should be retrieved from inpTabId and inpWindowId request parameters instead of from tabId and windowId ones), this makes that when the value is tried to be obtained from session to be got always from session context not being able to check stored in session fields in the opening tab. Doing this change is not trivial because some values (such as isSoTrx used in Action Regading Document field in Add Payment P&E) to be changed from true to Y making the selector not to show the proper values
Case 1 cannot be reproduced within current distribution
Case 2 was reproducible before fix for 0030623
No tags attached.
related to defect 00306233.0PR15Q4 closed aferraz "deposit to" field in Add Payment process does not show all available financial accounts 
Issue History
2015-09-09 17:10alostaleNew Issue
2015-09-09 17:10alostaleAssigned To => platform
2015-09-09 17:10alostaleModules => Core
2015-09-09 17:10alostaleTriggers an Emergency Pack => No
2015-09-10 08:05alostaleRelationship addedrelated to 0030623
2022-02-01 08:09alostaleAssigned Toplatform => Triage Platform Base

There are no notes attached to this issue.