Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0011572 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2009-12-01 13:35 | 2011-08-01 14:19 | |||
Reporter | marvintm | View Status | public | |||||
Assigned To | shuehner | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | pi | Fixed in SCM revision | 5ba902b0d15e | |||
Projection | none | ETA | none | Target Version | 3.0MP2 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0011572: Constraint error text parser on Postgres doesn't work with Spanish translated PostgreSQL | |||||||
Description | The constraint error text parser doesn't work on Spanish translated PostgreSQL. For example, this error message is not parsed correctly: ERROR: llave duplicada viola restricción de unicidad «ad_message_value_un» The problem is the different quotes that the Spanish message uses: "<< >>". | |||||||
Steps To Reproduce | Just add a new message entry in the application, in Postgre. The standard constraint error will be shown, instead of the Openbravo customized, "nice" one. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||||||||||||||||
|
Notes | |
(0039066) hgbot (developer) 2011-07-14 16:12 |
Repository: erp/devel/pi Changeset: 5ba902b0d15e0a5aa5b3edc520feb1e6b2ce2a7c Author: Stefan Hühner <stefan.huehner <at> openbravo.com> Date: Thu Jul 14 16:12:08 2011 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/5ba902b0d15e0a5aa5b3edc520feb1e6b2ce2a7c [^] Fixed 11572: Allow «» also as separators when searching for constraint name Spanish translation of pgsql error messages uses «» instead of "" as quotes around the columnname. Add that case to error text parser for postgres to be able to find the constraint name and show a nicer error message. Also add unit test for this. As language config of db is normally not in spanish that added test just passes in known string into errror text-parser and does not really test db-action vs. expected message like the other testcases. --- M src-test/org/openbravo/test/system/ErrorTextParserTest.java M src/org/openbravo/erpCommon/utility/ErrorTextParserPOSTGRE.java --- |
(0039596) hudsonbot (developer) 2011-08-01 14:19 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/cf2afed6e8ef [^] Maturity status: Test |
Issue History | |||
Date Modified | Username | Field | Change |
2009-12-01 13:35 | marvintm | New Issue | |
2009-12-01 13:35 | marvintm | Assigned To | => shuehner |
2010-01-05 12:12 | iciordia | Priority | normal => urgent |
2010-01-05 12:12 | iciordia | Status | new => scheduled |
2011-03-16 16:52 | AinhoaPagola | Issue Monitored: AinhoaPagola | |
2011-06-13 18:32 | shuehner | Status | scheduled => feedback |
2011-06-13 18:33 | shuehner | Status | feedback => new |
2011-06-13 18:33 | shuehner | Target Version | => 3.0MP2 |
2011-06-13 18:33 | shuehner | Status | new => scheduled |
2011-06-13 18:33 | shuehner | fix_in_branch | => pi |
2011-07-14 16:12 | hgbot | Checkin | |
2011-07-14 16:12 | hgbot | Note Added: 0039066 | |
2011-07-14 16:12 | hgbot | Status | scheduled => resolved |
2011-07-14 16:12 | hgbot | Resolution | open => fixed |
2011-07-14 16:12 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/5ba902b0d15e0a5aa5b3edc520feb1e6b2ce2a7c [^] |
2011-07-15 18:23 | marvintm | Status | resolved => closed |
2011-08-01 14:19 | hudsonbot | Checkin | |
2011-08-01 14:19 | hudsonbot | Note Added: 0039596 | |
2012-03-15 16:45 | eduardo_Argal | Relationship added | has duplicate 0017933 |
2016-09-12 15:50 | shuehner | Relationship added | related to 0033940 |
Copyright © 2000 - 2009 MantisBT Group |