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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0045890
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2021-02-12 07:492021-02-12 10:01
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PriorityimmediateResolutionfixedFixed in VersionPR21Q2
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

0045890: ClassLoaderTest fails if a Tomcat filter is added

DescriptionClassLoaderTest fails if a Tomcat filter is added because it cannot be found in the classpath.
Steps To Reproduce1. 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 [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(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 [^]

- Issue History
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 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 Note Added: 0126085
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
Powered by Mantis Bugtracker