disable securitymanager in tests, until #129 is addressed in tika
This commit is contained in:
parent
765afb655e
commit
9298be93f6
3
pom.xml
3
pom.xml
|
@ -33,6 +33,9 @@
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<!-- If we need to define any specific property -->
|
<!-- If we need to define any specific property -->
|
||||||
|
<!-- see https://github.com/elastic/elasticsearch-mapper-attachments/issues/129
|
||||||
|
this plugin is currently unusable unless users disable security -->
|
||||||
|
<tests.security.manager>false</tests.security.manager>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
|
@ -486,7 +486,7 @@ public class AttachmentMapper extends AbstractFieldMapper<Object> {
|
||||||
if (!ignoreErrors) {
|
if (!ignoreErrors) {
|
||||||
logger.trace("exception caught", e);
|
logger.trace("exception caught", e);
|
||||||
throw new MapperParsingException("Failed to extract [" + indexedChars + "] characters of text for [" + name + "] : "
|
throw new MapperParsingException("Failed to extract [" + indexedChars + "] characters of text for [" + name + "] : "
|
||||||
+ e.getMessage());
|
+ e.getMessage(), e);
|
||||||
} else {
|
} else {
|
||||||
logger.debug("Failed to extract [{}] characters of text for [{}]: [{}]", indexedChars, name, e.getMessage());
|
logger.debug("Failed to extract [{}] characters of text for [{}]: [{}]", indexedChars, name, e.getMessage());
|
||||||
logger.trace("exception caught", e);
|
logger.trace("exception caught", e);
|
||||||
|
|
Loading…
Reference in New Issue