Skip to content

Commit

Permalink
EZP-30481: Character "İ" causes publishing to fail with legacy (SQL) …
Browse files Browse the repository at this point in the history
…search
  • Loading branch information
glye committed Aug 28, 2019
1 parent 39091b7 commit be9c599
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,11 @@ private function indexWords(FullTextData $fullTextData, array $indexArray, array
} else {
$nextWordId = 0;
}

if ($wordId === null || $nextWordId === null) {

This comment has been minimized.

Copy link
@gggeek

gggeek Sep 4, 2019

Contributor

is it worth adding a comment here about when this could happen, since it is only for a quite uncommon case ?

This comment has been minimized.

Copy link
@glye

glye Sep 4, 2019

Author Member

Yep. (Already added in my local version.)

continue;
}

$frequency = 0;
$this->searchIndex->addObjectWordLink(
$wordId,
Expand Down

0 comments on commit be9c599

Please sign in to comment.