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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0006122
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2008-11-20 18:482009-04-21 11:04
ReporterroklenardicView Statuspublic 
Assigned Togmauleon 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision12321
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabaseOracleJava version1.6
OS VersionUbuntu 8.04Database versionXE 10gAnt version1.7.0
Product Version2.50alpha-r1SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0006122: Window and Tab Name within Application Dictionary

DescriptionIf 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.

Proposed SolutionUse 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.
Tagscomsup_sprint5
Attached Filespng file icon new-window.png [^] (56,438 bytes) 2008-11-24 12:10

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0006542 closedgmauleon Window and Tab Name within Application Dictionary 

-  Notes
(0010551)
rafaroda (developer)
2008-11-24 12:11

Not able to reproduce in trunk revision 10427 (see attached image).
(0010639)
roklenardic (developer)
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 (developer)
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 (developer)
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 (reporter)
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 [^]

- Issue History
Date Modified Username Field Change
2008-11-20 18:48 roklenardic New Issue
2008-11-20 18:48 roklenardic Assigned To => rafaroda
2008-11-20 18:48 roklenardic sf_bug_id 0 => 2318108
2008-11-20 18:48 roklenardic Regression testing => No
2008-11-24 12:10 rafaroda File Added: new-window.png
2008-11-24 12:11 rafaroda Status new => closed
2008-11-24 12:11 rafaroda Note Added: 0010551
2008-11-24 12:11 rafaroda Resolution open => unable to reproduce
2008-11-25 13:10 roklenardic Status closed => new
2008-11-25 13:10 roklenardic Resolution unable to reproduce => open
2008-11-25 13:10 roklenardic Note Added: 0010639
2008-11-25 13:10 roklenardic Note Added: 0010640
2008-12-15 09:41 rafaroda Status new => scheduled
2008-12-15 09:41 rafaroda Assigned To rafaroda => gmauleon
2008-12-15 09:41 rafaroda fix_in_branch => trunk
2008-12-15 09:46 rafaroda Note Added: 0011342
2009-01-27 15:46 svnbot Checkin
2009-01-27 15:46 svnbot Note Added: 0012690
2009-01-27 15:46 svnbot Status scheduled => resolved
2009-01-27 15:46 svnbot Resolution open => fixed
2009-01-27 15:46 svnbot svn_revision => 12321
2009-01-28 12:09 gmauleon Tag Attached: comsup_sprint5
2009-04-21 11:04 psarobe Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker