Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0006122Openbravo ERPA. Platformpublic2008-11-20 18:482009-04-21 11:04
roklenardic 
gmauleon 
normalminorhave not tried
closedfixed 
20Ubuntu 8.04
2.50alpha-r1 
 
Core
No
0006122: Window and Tab Name within Application Dictionary
If one uses odd characters such as _ (underscore) or ' (apostrofe) for the window or tab name, the compilation of that particular window will fail sue to SQLC and WAD specific not handling these special characters properly.

Use some kind of validation on Window and Tab name (callout or trigger). changing wad or sqlc to handle these characters properly would be a much more complex solution.
comsup_sprint5
depends on backport 0006542 closed gmauleon Window and Tab Name within Application Dictionary 
png new-window.png (56,438) 2008-11-24 12:10
https://issues.openbravo.com/file_download.php?file_id=460&type=bug
png
Issue History
2008-11-20 18:48roklenardicNew Issue
2008-11-20 18:48roklenardicAssigned To => rafaroda
2008-11-20 18:48roklenardicsf_bug_id0 => 2318108
2008-11-20 18:48roklenardicRegression testing => No
2008-11-24 12:10rafarodaFile Added: new-window.png
2008-11-24 12:11rafarodaStatusnew => closed
2008-11-24 12:11rafarodaNote Added: 0010551
2008-11-24 12:11rafarodaResolutionopen => unable to reproduce
2008-11-25 13:10roklenardicStatusclosed => new
2008-11-25 13:10roklenardicResolutionunable to reproduce => open
2008-11-25 13:10roklenardicNote Added: 0010639
2008-11-25 13:10roklenardicNote Added: 0010640
2008-12-15 09:41rafarodaStatusnew => scheduled
2008-12-15 09:41rafarodaAssigned Torafaroda => gmauleon
2008-12-15 09:41rafarodafix_in_branch => trunk
2008-12-15 09:46rafarodaNote Added: 0011342
2009-01-27 15:46svnbotCheckin
2009-01-27 15:46svnbotNote Added: 0012690
2009-01-27 15:46svnbotStatusscheduled => resolved
2009-01-27 15:46svnbotResolutionopen => fixed
2009-01-27 15:46svnbotsvn_revision => 12321
2009-01-28 12:09gmauleonTag Attached: comsup_sprint5
2009-04-21 11:04psarobeStatusresolved => closed

Notes
(0010551)
rafaroda   
2008-11-24 12:11   
Not able to reproduce in trunk revision 10427 (see attached image).
(0010639)
roklenardic   
2008-11-25 13:10   
1) I have created a new module, Name = Rok's Module
2) created a new window, Name = Rok's Hello World window
3) inside this window created one new tab, Name = Rok's Hello World tab, Table = C_Order
4) used the Create Fields button to put all fields of that table on the new tab

Compiled using ant compile.complete and received this error:
........
compileSqlc:
    [javac] Compiling 1457 source files to /home/rok/workspaces-eclipse/trunk/openbravo/build/classes
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] Compiling 477 source files to /home/rok/workspaces-eclipse/trunk/openbravo/build/classes
    [javac] javac: invalid flag: /home/rok/workspaces-eclipse/trunk/openbravo/build/javasqlc/srcAD/org/openbravo/erpWindows/com/nautiloos/rok/helloworld/Rok
    [javac] Usage: javac <options> <source files>
    [javac] use -help for a list of possible options

BUILD FAILED
/home/rok/workspaces-eclipse/trunk/openbravo/build.xml:206: The following error occurred while executing this line:
/home/rok/workspaces-eclipse/trunk/openbravo/src/build.xml:164: Compile failed; see the compiler error output for details.

Total time: 3 minutes 49 seconds
(0010640)
roklenardic   
2008-11-25 13:10   
Revision used:
Path: .
URL: https://dev.openbravo.com/svn/openbravo/trunk [^]
Repository Root: https://dev.openbravo.com/svn/openbravo [^]
Repository UUID: 9509db7c-3d11-0410-ba00-cf6d01345df7
Revision: 10520
Node Kind: directory
Schedule: normal
Last Changed Author: alostale
Last Changed Rev: 10514
Last Changed Date: 2008-11-25 10:33:08 +0100 (Tue, 25 Nov 2008)
(0011342)
rafaroda   
2008-12-15 09:46   
Review AD_MAPPING_FORMAT function in order to replace apostrophe by '' https://dev.openbravo.com/websvn/openbravo/trunk/src-db/database/model/functions/AD_MAPPING_FORMAT.xml [^]
(0012690)
svnbot   
2009-01-27 15:46   
Repository: openbravo
Revision: 12321
Author: gmauleon
Date: 2009-01-27 15:46:06 +0100 (Tue, 27 Jan 2009)

Fixes 0006122: Window and Tab Name within Application Dictionary

---
U trunk/src-db/database/model/tables/AD_WINDOW.xml
U trunk/src-db/database/sourcedata/AD_MESSAGE.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=12321&sc=1 [^]