Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005396Openbravo ERPY. DBSourceManagerpublic2008-10-03 10:382009-04-22 00:00
jpabloae 
marvintm 
normaltrivialalways
closedfixed 
20Gentoo - 2.6.24
 
 
Core
No
0005396: Error messages are shown with non-english system locale
I have the es_ES.UTF-8 system locale. It looks like DBSourceManager filters out the error messages if the message is in English, but not in any other language.
All the error messages start with "SQL Command failed with:", no matter what locale you use. Maybe that could be detected. It should work for any locale.
dbsm_migrate
txt locale_errors.txt (5,848) 2008-10-03 10:42
https://issues.openbravo.com/file_download.php?file_id=305&type=bug
Issue History
2008-10-03 10:38jpabloaeNew Issue
2008-10-03 10:38jpabloaeAssigned To => marvintm
2008-10-03 10:42jpabloaeNote Added: 0009324
2008-10-03 10:42jpabloaeFile Added: locale_errors.txt
2008-10-03 11:12jpabloaeNote Added: 0009334
2008-12-04 11:03svnbotCheckin
2008-12-04 11:03svnbotNote Added: 0010961
2008-12-04 11:03svnbotStatusnew => resolved
2008-12-04 11:03svnbotResolutionopen => fixed
2008-12-04 11:03svnbotsvn_revision => 185
2008-12-18 12:38jpabloaeSticky IssueNo => Yes
2008-12-18 12:39jpabloaeSticky IssueYes => No
2008-12-18 12:39jpabloaeTag Attached: dbsm_migrate
2008-12-18 12:41jpabloaeProject@4@ => Openbravo ERP
2008-12-18 12:41jpabloaeCategory => Y. DBSourceManager
2009-04-21 11:07psarobeStatusresolved => closed
2009-04-22 00:00anonymoussf_bug_id0 => 2777904

Notes
(0009324)
jpabloae   
2008-10-03 10:42   
Error log attached.
(0009334)
jpabloae   
2008-10-03 11:12   
My "Proposed Solution" is not valid because if we did that then other important errors would not be shown, such as:

[createdatabase] SQL Command failed with: ERROR: no existe la columna c.issyncdatabase
(0010961)
svnbot   
2008-12-04 11:03   
Repository: dbsourcemanager
Revision: 185
Author: marvintm
Date: 2008-12-04 11:03:29 +0100 (Thu, 04 Dec 2008)

Fixed issue 5396. Now error messages will not be shown in PostgreSQL when executing SELECT statements in a prescript or postscript.

---
_U trunk/
U trunk/src/org/apache/ddlutils/platform/PlatformImplBase.java
---

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