Bug #72649
closedFixed issue 72252 causes regression in indexed_search
0%
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).
Updated by Wouter Wolters almost 9 years ago
- Status changed from New to Needs Feedback
Can you give the markers that are not replaced?
Updated by André Spindler almost 9 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.
Updated by Georg Ringer almost 9 years ago
- Status changed from Needs Feedback to Closed
closed as requested