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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0006975
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 01. General setupmajorhave not tried2009-01-19 10:362009-04-21 12:36
ReporterpmagninView Statuspublic 
Assigned Tomtaal 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision12006
ProjectionnoneETAnoneTarget Version2.50
OSWindowsDatabaseOracleJava version
OS VersionDatabase versionAnt version
Product Version2.50alpha-r4SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0006975: Modularity: Build error after configuring a Manual Page

DescriptionI modified a manual page that belongs to a module.
Example: I changed the field name from "Satisfactory18" to "Satisfactory (% Forecast)".

I have an issue when I try to build ma page. See attachment for more details.

--=================================
The problem seems to be associated to the '%' caractere. I tried to do a manual update in the tables ad_field and ad_column to delete the '%' caractere, but I have still the same issue.

This issue is localized in the generate.entities process.
TagsModularity
Attached Filespng file icon BuildError.png [^] (33,126 bytes) 2009-01-19 10:36


png file icon BuildError_AD_COLUMN.png [^] (18,937 bytes) 2009-01-19 13:35


png file icon BuildError_AfterDatabaseUpdate.png [^] (15,213 bytes) 2009-01-19 13:35

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0012327)
mtaal (manager)
2009-01-19 13:17

Hi Pascal,
What are the values of the following fields:
AD_Column.name
AD_Column.columnname

For the column for which you made the change?

gr. Martin
(0012331)
pmagnin (reporter)
2009-01-19 13:37

Hi martin,
please find in attachment the select and the issue I still have when I try to build. It seems there is no relation with the '%' caratere.
Pascal
(0012332)
mtaal (manager)
2009-01-19 13:43

Hi Pascal,
I can see that column satisfactoryaxis19 has a different column name than the others.
How does the database handle this columnname? I mean when you look in oracle/postgress what name is used for that column?

gr. Martin
(0012335)
pmagnin (reporter)
2009-01-19 13:59

Martin,
you found it ! I did an updated of some AD_Column.columnname values, and it is working fine. I will try to understand why these values have been modified.
Thanks,
Pascal
(0012336)
mtaal (manager)
2009-01-19 14:01

Hi Pascal,
Okay but let's keep the call open as I should change the code so that it replaces these characters with characters which are allowed for java.

gr. Martin
(0012337)
pmagnin (reporter)
2009-01-19 14:02

I reopened the call...
Pascal
(0012339)
mtaal (manager)
2009-01-19 14:04

Re-opening it as I need to make the java code more robust.
(0012344)
svnbot (reporter)
2009-01-19 14:59

Repository: openbravo
Revision: 12006
Author: mtaal
Date: 2009-01-19 14:59:32 +0100 (Mon, 19 Jan 2009)

Fixes issue 6975, be more robust when someone uses illegal java characters for columnnames

---
U trunk/src/org/openbravo/base/model/NamingUtil.java
---

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

- Issue History
Date Modified Username Field Change
2009-01-19 10:36 pmagnin New Issue
2009-01-19 10:36 pmagnin Assigned To => alostale
2009-01-19 10:36 pmagnin sf_bug_id 0 => 2519266
2009-01-19 10:36 pmagnin File Added: BuildError.png
2009-01-19 10:36 pmagnin Regression testing => No
2009-01-19 12:42 psarobe Status new => scheduled
2009-01-19 12:42 psarobe fix_in_branch => trunk
2009-01-19 12:42 psarobe Tag Attached: Modularity
2009-01-19 13:11 pmagnin Assigned To alostale => mtaal
2009-01-19 13:11 pmagnin Priority normal => high
2009-01-19 13:11 pmagnin fix_in_branch trunk =>
2009-01-19 13:11 pmagnin Description Updated
2009-01-19 13:17 mtaal Note Added: 0012327
2009-01-19 13:35 pmagnin File Added: BuildError_AD_COLUMN.png
2009-01-19 13:35 pmagnin File Added: BuildError_AfterDatabaseUpdate.png
2009-01-19 13:37 pmagnin Note Added: 0012331
2009-01-19 13:43 mtaal Note Added: 0012332
2009-01-19 13:59 pmagnin Note Added: 0012335
2009-01-19 14:01 mtaal Note Added: 0012336
2009-01-19 14:01 pmagnin Status scheduled => closed
2009-01-19 14:01 pmagnin Resolution open => out of date
2009-01-19 14:02 pmagnin Status closed => new
2009-01-19 14:02 pmagnin Resolution out of date => open
2009-01-19 14:02 pmagnin Note Added: 0012337
2009-01-19 14:04 mtaal Note Added: 0012339
2009-01-19 14:59 svnbot Checkin
2009-01-19 14:59 svnbot Note Added: 0012344
2009-01-19 14:59 svnbot Status new => resolved
2009-01-19 14:59 svnbot Resolution open => fixed
2009-01-19 14:59 svnbot svn_revision => 12006
2009-04-21 12:36 psarobe Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker