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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0001955
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2007-09-13 12:222008-06-12 09:43
ReporterjpabloaeView Statuspublic 
Assigned Tomarvintm 
PrioritynormalResolutionout of dateFixed in Versionpi
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0001955: svn: user check fails if bbdd.user is in lowercase

DescriptionIn subversion r1014, the ant install.source task does not raise a warning about the existence of the bbdd.user if the ${bbdd.user} value is in lowercase because the username in Oracle is in uppercase.

Steps to reproduce:

1. Use the following user (in lowercase) in database/build.xml:
<property name="bbdd.user" value="tad"/>
2. Check the database username is in uppercase:
select count(*) from dba_users where username='TAD';
3. Run ant install.source
4. It doesn't show and stop with the warning.

If bbdd.user is TAD in uppercase, then it works fine.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0002114)
jpabloae (reporter)
2008-02-25 19:33
edited on: 2008-06-12 09:21

Logged In: YES
user_id=1603191
Originator: YES

Maybe this user check should be in "clean.database.${bbdd.dbms}" and not in "${bbdd.rdbms}.structure".

A possible solution when bbdd.dbms=ORACLE:

< SELECT COUNT(*) INTO v_count FROM DBA_USERS WHERE USERNAME = '${bbdd.user}';
> SELECT COUNT(*) INTO v_count FROM DBA_USERS WHERE USERNAME = upper('${bbdd.user}');
(0002115)
marvintm (developer)
2008-05-28 17:43
edited on: 2008-06-12 09:21

Logged In: YES
user_id=1952914
Originator: NO

In recent versions of Openbravo the database is deleted before being created when you do a create.database. This means that the check mentioned is obsolete (it will never raise a warning, as the database will never exist, as it has just been deleted). Therefore, this bug is now a non issue.
(0005544)
user71
2005-06-01 00:00
edited on: 2008-06-12 09:43

This bug was originally reported in SourceForge bug tracker and then migrated to Mantis.

You can see the original bug report in:
https://sourceforge.net/support/tracker.php?aid=1793821 [^]

- Issue History
Date Modified Username Field Change


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker