Skip to content

Catch/handle this error when searching for a term containing a new line #189

@kspurgin

Description

@kspurgin
List request failed: org.nuxeo.ecm.core.query.QueryParseException: Failed to execute query: SELECT * FROM Conceptitem WHERE collectionspace_core:tenantId = '1500' AND ((ecm:currentLifeCycleState <> 'deleted' AND ecm:currentLifeCycleState <> 'locked_deleted' AND ecm:currentLifeCycleState <> 'replicated_deleted') AND concepts_common:inAuthority='72745724-1f4d-4d94-a734' AND concepts_common:conceptTermGroupList/0/termDisplayName = 'Emancipation Proclamation
Lincoln, Abraham') AND ecm:isProxy = 0 AND ecm:isCheckedInVersion = 0 ORDER BY collectionspace_core:updatedAt DESC, Lexical Error: Illegal character <
> at offset 366

Unfortunately it is unclear exactly where this error is getting thrown, but the Searcher class is a good place to start.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions