Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0045008 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | have not tried | 2020-09-08 09:23 | 2020-09-08 10:25 | |||
Reporter | cberner | View Status | public | |||||
Assigned To | cberner | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | PR20Q4 | |||
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 | |||||||
Merge Request Status | approved | |||||||
Review Assigned To | ||||||||
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 | 0045008: Modulescript CreateMissingQuartzProperties fails in CI | |||||||
Description | Modulescript fails to find and copy quartz.properties.template file in CI with the following error: [importsampledata] 263803 [main] WARN org.openbravo.modulescript.CreateMissingQuartzProperties - Config folder not found: /srv/ci/config [importsampledata] 263805 [main] ERROR org.openbravo.modulescript.CreateMissingQuartzProperties - Couldn't copy config/quartz.properties.template to config/quartz.properties [importsampledata] java.nio.file.NoSuchFileException: /srv/ci/config [importsampledata] at org.openbravo.modulescript.CreateMissingQuartzProperties.getSourcePath(CreateMissingQuartzProperties.java:71) ~[classes/:?] [importsampledata] at org.openbravo.modulescript.CreateMissingQuartzProperties.execute(CreateMissingQuartzProperties.java:43) [classes/:?] [importsampledata] at org.openbravo.modulescript.ModuleScript.doExecute(ModuleScript.java:42) [openbravo-core.jar:?] [importsampledata] at org.openbravo.base.ExecutionLimitBaseProcess.preExecute(ExecutionLimitBaseProcess.java:50) [openbravo-core.jar:?] [importsampledata] at org.openbravo.modulescript.ModuleScriptHandler.execute(ModuleScriptHandler.java:65) [openbravo-core.jar:?] [importsampledata] at org.openbravo.ddlutils.task.ImportSampledata.doExecute(ImportSampledata.java:192) [dbsourcemanager.jar:?] [importsampledata] at org.openbravo.ddlutils.task.BaseDatabaseTask.execute(BaseDatabaseTask.java:81) [dbsourcemanager.jar:?] [importsampledata] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) [ant.jar:1.10.5] | |||||||
Steps To Reproduce | In description | |||||||
Proposed Solution | Check in modulescript if user.dir is already set to main OB dir. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0122781) hgbot (developer) 2020-09-08 10:09 |
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/148 [^] |
(0122782) hgbot (developer) 2020-09-08 10:25 |
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/148 [^] |
(0122783) hgbot (developer) 2020-09-08 10:25 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/openbravo [^] Changeset: 0277070ca3b6dcb884a5ddfe4934e16bd57521f3 Author: Cristian Berner <cristian.berner@openbravo.com> Date: 2020-09-08T09:51:55+02:00 URL: https://gitlab.com/openbravo/product/openbravo/-/commit/0277070ca3b6dcb884a5ddfe4934e16bd57521f3 [^] Fixes ISSUE-45008: Fix modulescript CreateMissingQuartzProperties in CI This modulescript was failing because it was assuming user.dir property was always set to some directory. Now it checks previously if it's already an OB environment, using this as main dir instead of two folders backwards. This is relevant for CI. --- M src-util/modulescript/build/classes/org/openbravo/modulescript/CreateMissingQuartzProperties.class M src-util/modulescript/src/org/openbravo/modulescript/CreateMissingQuartzProperties.java --- |
![]() |
|||
Date Modified | Username | Field | Change |
2020-09-08 09:23 | cberner | New Issue | |
2020-09-08 09:23 | cberner | Assigned To | => cberner |
2020-09-08 09:23 | cberner | OBNetwork customer | => No |
2020-09-08 09:23 | cberner | Modules | => Core |
2020-09-08 09:23 | cberner | Triggers an Emergency Pack | => No |
2020-09-08 10:09 | hgbot | Merge Request Status | => open |
2020-09-08 10:09 | hgbot | Note Added: 0122781 | |
2020-09-08 10:24 | hgbot | Merge Request Status | open => approved |
2020-09-08 10:25 | hgbot | Note Added: 0122782 | |
2020-09-08 10:25 | hgbot | Resolution | open => fixed |
2020-09-08 10:25 | hgbot | Status | new => closed |
2020-09-08 10:25 | hgbot | Fixed in Version | => PR20Q4 |
2020-09-08 10:25 | hgbot | Note Added: 0122783 |
Copyright © 2000 - 2009 MantisBT Group |