Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0045216 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] Y. DBSourceManager | minor | have not tried | 2020-10-14 08:26 | 2020-10-30 13:27 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
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 | 0045216: dbsm tests have hardcoded super user | |||||||
Description | dbsm tests have hardcoded super user and password. Check src/org/openbravo/dbsm/test/base/PGOnlySystemDbsmTest.java src/org/openbravo/dbsm/test/model/ContainsSearchIndexes.java src/org/openbravo/dbsm/test/model/recreation/AddDropConstraints.java | |||||||
Steps To Reproduce | Change pg super user password and execute tests | |||||||
Proposed Solution | Move it to json config. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0123954) hgbot (developer) 2020-10-27 08:12 |
Merge Request created: https://gitlab.com/openbravo/product/dbsm/-/merge_requests/18 [^] |
(0124068) hgbot (developer) 2020-10-30 13:27 |
Merge request merged: https://gitlab.com/openbravo/product/dbsm/-/merge_requests/18 [^] |
(0124069) hgbot (developer) 2020-10-30 13:27 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/dbsm [^] Changeset: 44ca69d61c6d4a4d6395d65f4cebdf38e222ff2d Author: Asier Lostalé <asier.lostale@openbravo.com> Date: 2020-10-30T12:27:29+00:00 URL: https://gitlab.com/openbravo/product/dbsm/-/commit/44ca69d61c6d4a4d6395d65f4cebdf38e222ff2d [^] fixed ISSUE-45216: dbsm tests have hardcoded super user Added "systemUser" and "systemPassword" properties to config in order to set db super user credentials instead of hardcoding them via getSystemUser and getSystemPassword methods, which have now been deleted. --- M src-test/config/db-config.json.template M src-test/src/org/openbravo/dbsm/test/base/DbsmTest.java M src-test/src/org/openbravo/dbsm/test/base/PGOnlySystemDbsmTest.java M src-test/src/org/openbravo/dbsm/test/model/ContainsSearchIndexes.java M src-test/src/org/openbravo/dbsm/test/model/recreation/AddDropConstraints.java --- |
Issue History | |||
Date Modified | Username | Field | Change |
2020-10-14 08:26 | alostale | New Issue | |
2020-10-14 08:26 | alostale | Assigned To | => platform |
2020-10-14 08:26 | alostale | Modules | => Core |
2020-10-14 08:26 | alostale | Triggers an Emergency Pack | => No |
2020-10-14 08:48 | alostale | Relationship added | related to 0045217 |
2020-10-14 13:04 | shuehner | Issue Monitored: shuehner | |
2020-10-27 08:12 | hgbot | Note Added: 0123954 | |
2020-10-27 08:12 | alostale | Assigned To | platform => alostale |
2020-10-30 13:27 | hgbot | Note Added: 0124068 | |
2020-10-30 13:27 | hgbot | Resolution | open => fixed |
2020-10-30 13:27 | hgbot | Status | new => closed |
2020-10-30 13:27 | hgbot | Note Added: 0124069 |
Copyright © 2000 - 2009 MantisBT Group |