[BUGFIX] indexed_search: in some cases indexing does not work 01/32601/2
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:39:17 +0000 (14:39 +0200)
commit0489d1835dfeaef92499f019d9ddf33fa92a329e
tree5def61aa483d88cbb04c1dc12a050ff95ec2cc39
parenta4d88d1f044b6c69687c9e2ee707a622f895e3e9
[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/32601
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/indexed_search/Classes/Indexer.php