Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0045216
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Y. DBSourceManagerminorhave not tried2020-10-14 08:262020-10-30 13:27
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0045216: dbsm tests have hardcoded super user

Descriptiondbsm 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 ReproduceChange pg super user password and execute tests
Proposed SolutionMove it to json config.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0045217 closedalostale org.openbravo.dbsm.test.model.Functions.invalidFunctionIsIgnored fails in cli 

-  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
Powered by Mantis Bugtracker