Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0038829 | Openbravo ERP | A. Platform | public | 2018-06-25 14:00 | 2018-08-03 13:07 | |||||||
Reporter | shuehner | |||||||||||
Assigned To | caristu | |||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | pi | |||||||||||
Target Version | 3.0PR18Q2.2 | Fixed in Version | 3.0PR18Q2.2 | |||||||||
Merge Request Status | ||||||||||||
Review Assigned To | AugustoMauch | |||||||||||
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 | 0038829: Some trigger error messages are not shown nicely when using PostgreSQL version 10 (shows part of technical error) | |||||||||||
Description | When a database transaction throws an exception the ErrorTextParser class tries to parse it and translates it into a usable end-user message and shows that instead. That parsing fails with pg10 and parts of the technical exception is shown mixed with the translated message. When fixing the issue the existing unit tests (in ErrorTextParserTest class) for the parser should get a new test-case to cover the fix. | |||||||||||
Steps To Reproduce | Start with instance having 18Q3 (or at least pi containing those) Important: Have project to 'reject setting a module in development' when instance purpose is 'Production'. Change Role to System Administrator Set instance purpose to 'Production' Go to module window Edit entry to 'core' module and mark 'In Development' as active. Save the edited record. Expected error message: Saving failed. Cannot have modules in "In Development" status in a Production instance Actual error message when using postgresql version10. Saving failed. Cannot have modules in "In Development" status in a Production instance Where: PL/pgSQL function ad_module_trg() line 33 at RAISE Here part of the 'Stacktrace' of the error message comes up in the translated text. | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2018-06-25 15:18 | caristu | Type | defect => backport | |||||||||
2018-06-25 15:18 | caristu | Target Version | => 3.0PR18Q2.2 | |||||||||
2018-06-26 18:02 | caristu | Assigned To | platform => caristu | |||||||||
2018-07-31 19:18 | caristu | Review Assigned To | => AugustoMauch | |||||||||
2018-07-31 19:19 | hgbot | Checkin | ||||||||||
2018-07-31 19:19 | hgbot | Note Added: 0106062 | ||||||||||
2018-07-31 19:19 | hgbot | Status | scheduled => resolved | |||||||||
2018-07-31 19:19 | hgbot | Resolution | open => fixed | |||||||||
2018-07-31 19:19 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR18Q2.2/rev/733a90ef96e2a09a4e41fbc343a7ec15f502f8a6 [^] | |||||||||
2018-08-02 13:33 | hgbot | Checkin | ||||||||||
2018-08-02 13:33 | hgbot | Note Added: 0106120 | ||||||||||
2018-08-03 13:07 | AugustoMauch | Status | resolved => closed | |||||||||
2018-08-03 13:07 | AugustoMauch | Fixed in Version | => 3.0PR18Q2.2 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|