Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into feature_cmspage_ar…
Browse files Browse the repository at this point in the history
…chive
  • Loading branch information
Florian Alpers committed Jan 24, 2025
2 parents 4ba2168 + 0e7204b commit 8fa89d1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion goobi-viewer-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
<jakarta.servlet-api.version>6.0.0</jakarta.servlet-api.version>
<jakarta.websocket.version>2.2.0</jakarta.websocket.version>
<jakarta.ws.rs-api.version>3.1.0</jakarta.ws.rs-api.version>
<java-jwt.version>3.19.1</java-jwt.version>
<java-jwt.version>4.4.0</java-jwt.version>
<jwks-rsa.version>0.22.1</jwks-rsa.version>
<jaxen.version>2.0.0</jaxen.version>
<jaxb-api.version>4.0.2</jaxb-api.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@

import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
* POST request parameters for IndexingResource (indexer ersion).
* POST request parameters for IndexingResource (indexer version).
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class IndexerDataRequestParameters {

private String application;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,12 @@ public List<IFacetItem> getActiveFacetsForField(String field) {
* @return true if given link is part of the active facet string; false otherwise
*/
public boolean isFacetStringCurrentlyUsed(String link) {
return isFacetCurrentlyUsed(new FacetItem(link, false));
try {
return isFacetCurrentlyUsed(new FacetItem(link, false));
} catch (IllegalArgumentException e) {
logger.warn(e.getMessage());
return false;
}
}

/**
Expand Down

0 comments on commit 8fa89d1

Please sign in to comment.