Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008551Openbravo ERPA. Platformpublic2009-04-12 13:242011-10-28 14:22
roklenardic 
alostale 
lowminoralways
closedno change required 
20Ubuntu 9.04
2.50beta 
 
Core
No
0008551: Callout name must not contain spaces
If a callout name in window Application Dictionary || Setup || Callout contains space then the generated code looks like

function calloutHotel Stay Final Sum Calculation(changedField) {
  submitCommandFormParameter('DEFAULT', frmMain.inpLastFieldChanged, changedField, false, null, '../com.mycompany.hotel.ad_callouts/HotelStayFinalSumCalculation.html', 'hiddenFrame', null, null, true);
  return true;
}

Obviously, java function definition cannot contain spaces so the callout not only does not work but corrupts the functionality of the entire tab that contains it.
Introduce a constrain that prevents saving callout names with spaces or change wad so that it removes spaces of the callout when it generates the callout function.
dev-platform-quick-wins
Issue History
2009-04-12 13:24roklenardicNew Issue
2009-04-12 13:24roklenardicAssigned To => rafaroda
2009-04-12 13:24roklenardicRegression testing => No
2009-04-21 18:58joanNote Added: 0015498
2009-04-21 18:59joanIssue Monitored: joan
2009-04-23 09:27psarobePrioritynormal => low
2009-04-23 09:27psarobeStatusnew => scheduled
2009-04-23 09:46rafarodaAssigned Torafaroda => alostale
2010-09-07 10:56rafarodaTag Attached: dev-platform-quick-wins
2010-09-07 10:56rafarodaIssue Monitored: rafaroda
2011-10-28 12:14psarobeNote Added: 0042215
2011-10-28 12:14psarobeStatusscheduled => closed
2011-10-28 12:14psarobeResolutionopen => no change required
2011-10-28 14:22roklenardicNote Added: 0042260

Notes
(0015498)
joan   
2009-04-21 18:58   
2.50 seams to have the same behavoir also with lists definitions. If i create a List named Historial NĂºmeros de Serie Work Effort. The compilation returns
  
/ob250/src-gen/org/openbravo/model/materialmgmt/transaction/ProductionTransaction.java:364: > expected
public void setHistorialNmerosDeSerieWorkEffortList(java.util.List<org.itae.Historial NĂºmeros de Serie Work Effort> historialNmerosDeSerieWorkEffortList) {

And more errors about it.
Seams to dont like accents and spaces
(0042215)
psarobe   
2011-10-28 12:14   
Openbravo provides community support only for the latest Openbravo version, which is Openbravo 3. This version has significantly improved financial flow, filtering, performance, etc and this issue is not present there. Upgrade path from Openbravo 2.50 to latest Openbravo version is available so we recommend to upgrade your instance to get this issue fixed.

Life cycle guarantee (backporting bug fixes to the previos to latest releases (Openbravo 2.40, 2.50)) is available for Professional Edition subscribers only. Please register your ticket through Openbravo Support Portal (http://support.openbravo.com/ [^]) if you have valid Professional subscription.

You can find more details about our Support policy in the following blog post
http://paolojuvara.blogspot.com/2009/12/maintenance-policy-for-openbravo-250.html [^]
(0042260)
roklenardic   
2011-10-28 14:22   
Pablo, this problem persists in 3.0 and is a design flaw.