[BUGFIX] indexed_search: in some cases indexing does not work 55/32355/4
authorSamir Rachidi <sr@plusb.de>
Mon, 25 Aug 2014 15:59:09 +0000 (17:59 +0200)
committerMarkus Klein <klein.t3@reelworx.at>
Fri, 5 Sep 2014 12:38:53 +0000 (14:38 +0200)
commite6a688196b9436a7d35f19ec0cc9ee811de4fb4b
treefcc2fa6927ddae6bd2ee6cc0d2ddd9e172bb5fd1
parenta869cd3abef520c13837af386b3ec5149d39de5a
[BUGFIX] indexed_search: in some cases indexing does not work

In some cases $pObj->register['SYS_LASTCHANGED'] is NULL and therefore
a MySQL error occurs during indexing a page. So, in these cases,
we need to set the 'mtime' value by getting it from the page and we
always want to prevent a NULL-value getting inserted into the DB.

Resolves: #61135
Releases: 6.1, 6.2, 6.3
Change-Id: Idb78af3aa23350db4bd43f58638541e6b3ad3ae3
Reviewed-on: http://review.typo3.org/32355
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
typo3/sysext/indexed_search/Classes/Indexer.php