Jacques Le Roux 829e1ca535 Fixed: Test run was unsuccessful because of failing solr tests (OFBIZ-12595)
The previous commit for OFBIZ-12594 was only working on Windows. On *nix OSs
there is no way to reliably get "--test" String from java.class.path property.

Also the previous fix was brittle because relying only on 1 space separating
words.

This fix puts in the SolrDispatchFilter system property at the beginning of the
4 Solr tests and removes it at end of them. That presence can reliably be tested
in ControlFilter that is called before SolrDispatchFilter. It allows to bypass
SecurityUtil::containsFreemarkerInterpolation that would else change the
parameters content type that must be application/x-www-form-urlencoded.
content

Thanks: Tom Pietsch for report and Mart Naum for confirmation

Conflicts handled by hand
2022-04-13 14:46:18 +02:00
2021-11-18 09:27:51 +01:00
2017-08-11 12:13:43 +00:00
2020-03-14 08:27:24 +01:00
S
Description
No description provided
Apache-2.0
153 MiB
Languages
JavaScript 44.6%
Java 23.1%
FreeMarker 18.1%
Groovy 6.4%
CSS 5.3%
Other 2.4%