Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0041866 | Openbravo ERP | B. User interface | public | 2019-09-23 12:31 | 2022-02-01 08:07 | ||||||||||||||
Reporter | adrianromero | ||||||||||||||||||
Assigned To | Triage Platform Base | ||||||||||||||||||
Priority | normal | Severity | minor | Reproducibility | sometimes | ||||||||||||||
Status | acknowledged | Resolution | open | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | |||||||||||||||||||
Target Version | Fixed in Version | ||||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | |||||||||||||||||||
OBNetwork customer | |||||||||||||||||||
Web browser | |||||||||||||||||||
Modules | Core | ||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0041866: Error messages for check constrains are not generated if PosgreSQL is in Spanish | ||||||||||||||||||
Description | Having configured PostgreSQL in Spanish, and with a Check Constraint with its corresponding message in AD_MESSAGE. For example Check Constraint "EM_RTP_APP_FISCAL_CFG" with message "Fiscal touchpoints must define a RT Printer to handle receipts fiscalization." If in the user interface the user tries to store a record that violates that constraint the error that appears is "ERROR: el nuevo registro para la relación «obpos_applications» viola la restricción «check» «em_rtp_app_fiscal_cfg» Detail: La fila que falla contiene (6A93C7FD23B84..." The database error. If PostgreSQL is configured in English the right message appears. "Fiscal touchpoints must define a RT Printer to handle receipts fiscalization.". In English the database message is like "ERROR: new row for relation "obpos_applications" violates check constraint "em_rtp_app_fiscal_cfg" Detail: Failing row contains (6A93C7FD23B84..." The problem is located in function ErrorTextParserPOSTGRE.findConstraintName() https://code.openbravo.com/erp/devel/pi/file/tip/src/org/openbravo/erpCommon/utility/ErrorTextParserPOSTGRE.java#l83 [^] that returns in Postgresql "check" instead of "em_rtp_app_fiscal_cfg". | ||||||||||||||||||
Steps To Reproduce | In description | ||||||||||||||||||
Proposed Solution | |||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2019-09-23 12:31 | adrianromero | New Issue | |||||||||||||||||
2019-09-23 12:31 | adrianromero | Assigned To | => platform | ||||||||||||||||
2019-09-23 12:31 | adrianromero | Modules | => Core | ||||||||||||||||
2019-09-23 12:31 | adrianromero | Triggers an Emergency Pack | => No | ||||||||||||||||
2019-09-23 13:37 | adrianromero | Description Updated | bug_revision_view_page.php?rev_id=19397#r19397 | ||||||||||||||||
2019-09-27 11:20 | alostale | Relationship added | related to 0033940 | ||||||||||||||||
2019-09-27 11:20 | alostale | Type | defect => design defect | ||||||||||||||||
2020-02-13 11:34 | alostale | Status | new => acknowledged | ||||||||||||||||
2020-02-13 11:36 | alostale | Relationship added | has duplicate 0043205 | ||||||||||||||||
2022-02-01 08:07 | alostale | Assigned To | platform => Triage Platform Base |
There are no notes attached to this issue. |