This error can happen multiple times when running misc/link_bibs_to_authorities.pl with a large number of biblios :
CCL parsing error (10014) Right truncation not supported ZOOM at ...
I did some tests and found that the error happens when the script try to search for an authority that ends with a "?". "?" seems to be a wildcard character for truncation in CCL.
Examples of CCL queries causing a "Right truncation not supported" error :
Match-heading,ext="Qui, quand, quoi?" AND at='UNIF_TITLE' AND Heading-use-series-added-entry=a
Match-heading,ext="Lescarbot, Marc, 1570?-1630?" AND at='PERSO_NAME' AND Heading-use-subject-added-entry=a AND Subject-heading-thesaurus=rvm
A possible solution would be to find a way escape the "?"s so they aren't seen as truncations by the CCL parser.
Created attachment 2764 [details] [review]
Adds "do-not-truncate" in the search queries of Heading.pm
Adding the "do-not-truncate" qualifier to the search queries of Heading.pm seems to solve the problem. Now, the CCL parser won't think the "?"s found in the search queries are truncation characters.
Created attachment 3077 [details] [review]
Adds "do-not-truncate" in the search queries of Heading.pm (Correct patch formatting)
Corrected the patch formatting.
Sorry for the inconvenience.
Seems to be working properly now. Closing.
*** Bug 5155 has been marked as a duplicate of this bug. ***