Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0029855 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2015-05-12 16:29 | 2021-02-05 07:42 | |||
Reporter | shuehner | View Status | public | |||||
Assigned To | shuehner | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | PR21Q2 | |||
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 | merged | |||||||
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 | 0029855: ant validate modules reads excludeFilter.xml from wrong folder | |||||||
Description | Running test from issue 29854 shows following problems on top of the functional issue reported in 29854: [validateModules] java.io.FileNotFoundException: /home/huehner/ob/branches/pi_pg/src/src-db/database/model/excludeFilter.xml (No such file or directory) [validateModules] at java.io.FileInputStream.open(Native Method) [validateModules] at java.io.FileInputStream.<init>(FileInputStream.java:146) [validateModules] at org.apache.commons.digester.Digester.parse(Digester.java:1741) [validateModules] at org.apache.ddlutils.io.DatabaseIO.readExcludedObjects(DatabaseIO.java:556) [validateModules] at org.apache.ddlutils.platform.ExcludeFilter.fillFromFile(ExcludeFilter.java:104) [validateModules] at org.openbravo.ddlutils.util.DBSMOBUtil.getExcludeFilter(DBSMOBUtil.java:1101) [validateModules] at org.openbravo.service.system.SystemValidationTask.doExecute(SystemValidationTask.java:88) [validateModules] at org.openbravo.dal.core.DalInitializingTask.execute(DalInitializingTask.java:120) Checking path carefully shows that it uses wrong path construction src/src-db/... instead of just src-db/... Probably side-effect of build.xml::validate.modules calling src/build.xml::validate.modules so having base path inside src | |||||||
Steps To Reproduce | ant validate.modules -Dmodule=org.openbravo.service.json | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|||||||||||||||
|
![]() |
|
(0077344) shuehner (administrator) 2015-05-12 16:33 |
Note: when working around this apparently still some other NPE happens: [validateModules] java.lang.NullPointerException [validateModules] at org.openbravo.ddlutils.util.DBSMOBUtil.getExcludeFilter(DBSMOBUtil.java:1104) [validateModules] at org.openbravo.service.system.SystemValidationTask.doExecute(SystemValidationTask.java:88) [validateModules] at org.openbravo.dal.core.DalInitializingTask.execute(DalInitializingTask.java:120) |
(0125983) hgbot (developer) 2021-02-04 17:28 |
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/304 [^] |
(0126001) hgbot (developer) 2021-02-05 07:29 |
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/304 [^] |
(0126004) hgbot (developer) 2021-02-05 07:29 |
Repository: https://gitlab.com/openbravo/product/openbravo [^] Changeset: add93934a5dc3edb120914515cac96917cee2432 Author: Stefan Huehner <stefan.huehner@openbravo.com> Date: 2021-02-04T17:17:13+01:00 URL: https://gitlab.com/openbravo/product/openbravo/-/commit/add93934a5dc3edb120914515cac96917cee2432 [^] Fixes ISSUE-29855. Remove broken ant validate.modules task That does did not work properly since at least 2015. The same validation is also run: - via the junit task SystemValidatorTest.testModulesValidation (in there for all modules marked as InDevelopment) - Also package.module by default runs the same validation yet again --- M build.xml M src/build.xml --- |
![]() |
|||
Date Modified | Username | Field | Change |
2015-05-12 16:29 | shuehner | New Issue | |
2015-05-12 16:29 | shuehner | Assigned To | => platform |
2015-05-12 16:29 | shuehner | OBNetwork customer | => No |
2015-05-12 16:29 | shuehner | Modules | => Core |
2015-05-12 16:29 | shuehner | Triggers an Emergency Pack | => No |
2015-05-12 16:29 | shuehner | Relationship added | related to 0029854 |
2015-05-12 16:33 | shuehner | Note Added: 0077344 | |
2015-05-13 08:23 | alostale | Status | new => acknowledged |
2015-08-26 14:34 | caristu | Relationship added | related to 0030680 |
2021-02-04 17:28 | hgbot | Merge Request Status | => open |
2021-02-04 17:28 | hgbot | Note Added: 0125983 | |
2021-02-05 07:29 | hgbot | Merge Request Status | open => merged |
2021-02-05 07:29 | hgbot | Note Added: 0126001 | |
2021-02-05 07:29 | hgbot | Resolution | open => fixed |
2021-02-05 07:29 | hgbot | Status | acknowledged => resolved |
2021-02-05 07:29 | hgbot | Fixed in Version | => PR21Q2 |
2021-02-05 07:29 | hgbot | Note Added: 0126004 | |
2021-02-05 07:42 | alostale | Assigned To | platform => shuehner |
2021-02-05 07:42 | alostale | Review Assigned To | => alostale |
2021-02-05 07:42 | alostale | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |