Bug #3092

Avoid CQP crash when the CQL length limit is reached

Ajouté par Matthieu Decorde il y a plus de 4 ans. Mis à jour il y a plus d'un an.

Statut:Closed Début:11/06/2021
Priorité:Normal Echéance:
Assigné à:- % réalisé:

100%

Catégorie:SearchEngine Temps passé: -
Version cible:TXM 0.8.2

Description

Since TXM 0.8.0, the CQL string length limit has been set to 16000 to limit CQP (and TXM) crash on long CQL strings.

But there are always new TXM usages that can crash CQP by very long CQL strings.

To definitively avoid TXM crash (memory linked to CQP's memory), add tests on CQL length before calling cqi.cqpQuery() and show an error message that indicates the current TXM CQL string maximum length and the current CQL string length.

Historique

#1 Mis à jour par Matthieu Decorde il y a plus de 4 ans

  • Sujet changé de aVoid crash when the CQL length limit is reached à Avoid crash when the CQL length limit is reached

#2 Mis à jour par Matthieu Decorde il y a plus de 4 ans

  • Tracker changé de Task à Bug

#3 Mis à jour par Serge Heiden il y a plus de 4 ans

  • Sujet changé de Avoid crash when the CQL length limit is reached à Avoid CQP crash when the CQL length limit is reached
  • Description mis à jour (diff)

#4 Mis à jour par Sebastien Jacquot il y a plus d'un an

  • % réalisé changé de 80 à 100

#5 Mis à jour par Sebastien Jacquot il y a plus d'un an

  • Statut changé de New à Closed

Formats disponibles : Atom PDF