Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0032622Openbravo ERPB. User interfacepublic2016-04-07 17:162016-04-08 08:50
plujan 
Triage Finance 
lowtrivialhave not tried
newopen 
5
main 
 
Core
No
0032622: [PR16Q2] Missing character while editing Goods Shipments
While creating/editing a Goods Shipment, the Partner Address misses the '\' char while selecting a Business Partner.
See steps.
Scenario A (working fine)
1. As F&B Admin, open the Sales Order window
2. Create a new record and pick "Alimentos y Supermercados" business partner.
3. Check the address: it is "La Coruña, C\Pescadores, 87" (note the bar between the C and the P)

Scenario B
1. As F&B Admin, open the Goods Shipment window
2. Create a new record and pick "Alimentos y Supermercados" business partner.
3. Check the address: it is "La Coruña, CPescadores, 87" (note there is no bar between the C and the P)
4. Save the record. Note the bar appears.

No tags attached.
diff inout-bp-callout-js-escape.diff (2,357) 2016-04-08 08:50
https://issues.openbravo.com/file_download.php?file_id=9248&type=bug
Issue History
2016-04-07 17:16plujanNew Issue
2016-04-07 17:16plujanAssigned To => platform
2016-04-07 17:16plujanModules => Core
2016-04-07 17:16plujanTriggers an Emergency Pack => No
2016-04-07 17:55plujanNote Added: 0085503
2016-04-08 08:45alostaleAssigned Toplatform => Triage Finance
2016-04-08 08:50alostaleNote Added: 0085507
2016-04-08 08:50alostaleFile Added: inout-bp-callout-js-escape.diff
2016-04-08 08:50alostaleIssue Monitored: alostale

Notes
(0085503)
plujan   
2016-04-07 17:55   
Same happens on Invoice window
(0085507)
alostale   
2016-04-08 08:50   
The problem is in the callouts populating locations which are not correctly escaping \ character.

Attached diff solves a concrete case. But the rest of cases in different callouts should also be reviewed.

Ideally, those callouts should extends SimpleCallout rather than being implemented as a Servlet so the platform could manage it in a centralized code.