Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0043952 | Openbravo ERP | A. Platform | public | 2020-05-05 18:20 | 2020-06-26 07:09 | |||||||
Reporter | shuehner | |||||||||||
Assigned To | cberner | |||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | PR20Q3 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | alostale | |||||||||||
OBNetwork customer | No | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0043952: ant create.database on postgresql fails with username containing @ symbol | |||||||||||
Description | Having a username containing an @ symbol as value for bbdd.username fails in builds.xml for example during ant create.database [sql] Failed to execute: DROP ROLE IF EXISTS tadpi_pgtest@test [sql] org.postgresql.util.PSQLException: ERROR: syntax error at or near "@" [sql] Position: 35 [sql] 0 of 1 SQL statements executed successfully POSTGRE.structure: POSTGRE.structure.param: [sql] Executing commands [sql] Failed to execute: CREATE ROLE tadpi_pgtest@test LOGIN PASSWORD 'tad' CREATEDB CREATEROLE VALID UNTIL 'infinity' [sql] org.postgresql.util.PSQLException: ERROR: syntax error at or near "@" Problem is missing quoting around the value inside the build-create.xml file That is a problem for any user choosing such a username but also when trying to use/test 'Azure Database for PostgreSQL' (aka managed postgres offering in Azure hosting) which forces to use user@dbname as a pattern for the username. | |||||||||||
Steps To Reproduce | Configure Openbravo.properties with bddd.username with a value containing @ symbol run ant create.database | |||||||||||
Proposed Solution | Add necessary quoting for the value in build*.xml | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2020-05-05 18:20 | shuehner | New Issue | ||||||||||
2020-05-05 18:20 | shuehner | Assigned To | => platform | |||||||||
2020-05-05 18:20 | shuehner | OBNetwork customer | => No | |||||||||
2020-05-05 18:20 | shuehner | Modules | => Core | |||||||||
2020-05-05 18:20 | shuehner | Triggers an Emergency Pack | => No | |||||||||
2020-05-05 18:20 | shuehner | Relationship added | related to 0015126 | |||||||||
2020-05-05 18:24 | shuehner | Note Added: 0119590 | ||||||||||
2020-06-12 14:33 | cberner | Note Added: 0120833 | ||||||||||
2020-06-12 14:33 | cberner | Assigned To | platform => cberner | |||||||||
2020-06-16 08:19 | cberner | Status | new => scheduled | |||||||||
2020-06-16 08:19 | cberner | Review Assigned To | => alostale | |||||||||
2020-06-24 09:25 | hgbot | Checkin | ||||||||||
2020-06-24 09:25 | hgbot | Note Added: 0121010 | ||||||||||
2020-06-24 09:25 | hgbot | Status | scheduled => resolved | |||||||||
2020-06-24 09:25 | hgbot | Resolution | open => fixed | |||||||||
2020-06-24 09:25 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/e8e21dee39c4cc22e0953f6331484915e3e3394a [^] | |||||||||
2020-06-26 07:09 | alostale | Status | resolved => closed | |||||||||
2020-06-26 07:09 | alostale | Fixed in Version | => 3.0PR20Q3 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|