Project

General

Profile

Actions

Bug #72649

closed

Fixed issue 72252 causes regression in indexed_search

Added by André Spindler over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
Start date:
2016-01-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.5
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

After updating from 7.6.1 to 7.6.2, the search form of indexed_search does not work any more.
Not all markers are replaced with their values when calling $substitutedContent = $this->cObj->substituteMarkerArrayCached($html, $markerArray, array(), array()) at the end of method makeSearchForm().

Switching back to 7.6.1 (and clearing caches in BE) resolves this.

What is confusing: Issue #72252 is (only) related to 6.2, but bugfix has also applied to 7.6-branch, as shown in the changelog (https://wiki.typo3.org/TYPO3_CMS_7.6.2).

Actions #1

Updated by Wouter Wolters over 8 years ago

  • Status changed from New to Needs Feedback

Can you give the markers that are not replaced?

Actions #2

Updated by André Spindler over 8 years ago

OK, now there is something more clear:

###PLACEHOLDER### was the first marker in template file which was not replaced. For a poor mistake it was entered as "###PLACEHOLDER#\n##", having a linebreak.
But change date of the file has been 23-09-2016, as the website was initially set up with TYPO3 7.4.0 and then was migrated to current versions as been released.

Therefore this wrong marker was nevertheless handled until 7.6.1, but failes now with 7.6.2.
After removing the linebreak it works now.

Seems like this change has been introduced by using reguilar expressions in marker handling. For our special case thius issue can be closed.

Actions #3

Updated by Georg Ringer over 8 years ago

  • Status changed from Needs Feedback to Closed

closed as requested

Actions

Also available in: Atom PDF