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

View Revisions: Issue #51515 All Revisions ] Back to Issue ]
Summary 0051515: Wrong json encode on DS.Request when the json has a string value with the "/" character
Revision 2023-02-06 07:49 by ranjith_qualiantech_com
Steps To Reproduce Unknown how to execute in a clean POS. Any request to backend using OB.DS.Request().exec() with a parameter value containing the "/" should make it fail.

Livebuilds
Login POS
Open Console and run below code
var params = {};
params.sample = { a: 'X/X' };
params.bpartnerId = 'ABD91C9D3BC94175B876FBBE9CACA008';
params.bpLocationId = '2AA7EADDF7EC405899262DDA3E572436';
new OB.DS.Request('org.openbravo.retail.posterminal.master.LoadedCustomer').exec(params, async function(data) { console.log(data); });
Error will occur in request
Revision 2023-02-03 10:23 by ranjith_qualiantech_com
Steps To Reproduce Unknown how to execute in a clean POS. Any request to backend using OB.DS.Request().exec() with a parameter value containing the "/" should make it fail.


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker