Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0045890 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | always | 2021-02-12 07:49 | 2021-02-12 10:01 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | immediate | 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 | 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 | 0045890: ClassLoaderTest fails if a Tomcat filter is added | |||||||
Description | ClassLoaderTest fails if a Tomcat filter is added because it cannot be found in the classpath. | |||||||
Steps To Reproduce | 1. add org.apache.catalina.filters.ExpiresFilter [1] 2. run ant run.test -Dtest=org.openbravo.test.model.ClassLoaderTest -> ERROR org.apache.catalina.filters.ExpiresFilter cannot be found in the classpath Note when the same is executed in Eclipse works because Tomcat libraries are added to the classpath. [1] https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/092339d71ab02caaead795f6312ab19ef21ab53a [^] | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0126085) hgbot (developer) 2021-02-12 07:59 |
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/311 [^] |
(0126092) hgbot (developer) 2021-02-12 10:01 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/openbravo [^] Changeset: 42994805a73c95b0fe2ffcac319d81fd184f1ee2 Author: Asier Lostalé <asier.lostale@openbravo.com> Date: 2021-02-12T09:00:54+00:00 URL: https://gitlab.com/openbravo/product/openbravo/-/commit/42994805a73c95b0fe2ffcac319d81fd184f1ee2 [^] fixed ISSUE-45890: ClassLoaderTest fails if a Tomcat filter is added Tomcat filters (ie. org.apache.catalina.filters.ExpiresFilter) are not included in the classpath when executing ClassLoaderTesst from CLI. This makes the test to fail they are included. Fixed by allowing org.apache.catalina.filters.* classes as filters, note they are skipped, so it is not guaranteed they actually exist. --- M src-test/src/org/openbravo/test/model/ClassLoaderTest.java --- |
(0126093) hgbot (developer) 2021-02-12 10:01 |
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/311 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2021-02-12 07:49 | alostale | New Issue | |
2021-02-12 07:49 | alostale | Assigned To | => platform |
2021-02-12 07:49 | alostale | OBNetwork customer | => No |
2021-02-12 07:49 | alostale | Modules | => Core |
2021-02-12 07:49 | alostale | Triggers an Emergency Pack | => No |
2021-02-12 07:49 | alostale | Assigned To | platform => alostale |
2021-02-12 07:59 | hgbot | Merge Request Status | => open |
2021-02-12 07:59 | hgbot | Note Added: 0126085 | |
2021-02-12 10:01 | hgbot | Merge Request Status | open => approved |
2021-02-12 10:01 | hgbot | Resolution | open => fixed |
2021-02-12 10:01 | hgbot | Status | new => closed |
2021-02-12 10:01 | hgbot | Fixed in Version | => PR21Q2 |
2021-02-12 10:01 | hgbot | Note Added: 0126092 | |
2021-02-12 10:01 | hgbot | Note Added: 0126093 |
Copyright © 2000 - 2009 MantisBT Group |