CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #34549

Mount Points in Index Queue Worker

Added by Thurnheer-Meier Andreas about 1 year ago. Updated about 1 month ago.

Status:Closed Start date:2012-03-06
Priority:Should have Due date:
Assignee:- % Done:

0%

Category:Indexing
Target version:-
TYPO3 Version:4.5 Has patch:No
PHP Version: Tags:
Votes: 0

Description

I have a tree with some Mount Points. The Shedule-Task "Index Queue Worker" stops and the following error occures:
"Failed to execute Page Indexer Request.class.tx_solr_indexqueue_pageindexerrequest.php, line 144".

The request URL which causes the error is "http://.../index.php?id=1175&MP=288-1184&L=0". When I open this URL in a browser the following error occures: "The requested page didn't have a proper connection to the tree-root! (MP value remain!)".

The Mount Point is configured as "Show content from this page". In the menu on the page, the link to the Mount Point is generated without the MP-Param.

- Apache Solr for TYPO3 EAP-Version 2.6.0
- TYPO3 4.5.11
- PHP 5.3.3

My Page-Tree looks like:

Rootpage
|-- Privat
|  |-- Home
|  |-- Postdienstleistungen
|     |-- Online-Postschalter (Mount Point to ID 288)                
|     |-- ...
|     |-- ...
|-- Business
|  |-- Home
|  |-- Postdienstleistungen
|     |-- Online-Postschalter (ID 288)
|         |-- ...
|         |-- ...

See also attached .t3d File.

mount-point.t3d (51.9 kB) Thurnheer-Meier Andreas, 2012-03-06 09:01

History

Updated by Ingo Renner about 1 year ago

  • Category set to Indexing
  • Priority changed from Must have to Should have

Updated by Ingo Renner about 1 year ago

I currently can't reproduce this, do you have any additional information on how to reproduce this? What steps may be involved?

Also what version are you using? could you try the 2.5.0 final release?

Updated by Ingo Renner about 1 year ago

  • Status changed from New to Needs Feedback
  • Assignee set to Thurnheer-Meier Andreas

Updated by Hauke Meyer about 1 year ago

I discovered the same behavior in an installation on our servers. As far as I concern it is a problem on building the URL when mouint points come to town.

I found this:

http://typo3.org/documentation/document-library/core-documentation/doc_core_tstemplates/0.0.1/view/2/3/
...
The &MP GET-var

The solution is the get-var called &MP. If you have a page (id=1) which is a mountpoint to another page (id=2), then if you want to see the page with id 2 (or any other page inside of this) as mounted from the rootline of page with id 1, then you must call the page with &id=+2+&MP=+2+-1.
...

And it tells me the URL typo3Solr uses to index the mounted page (in my case ...id=1&MP=669-1097) is wrong. It works if I use ...id=669&MP=669-1097.

A forgot: I use 2.1.0.dev from SVN

Updated by Ingo Renner about 1 year ago

I still cannot reproduce the issue, even when importing your tree. (I found a few other bugs while trying though). I'm trying with an introduction package installation...

The MP parameter is added during indexing, see tx_solr_indexqueue_PageIndexer->getMountPageDataUrlParameter()

Do you have any Mount Page specific settings in TS or the like?

Updated by Ingo Renner about 1 year ago

Since we also couldn't reproduce the issue on the affected system, can we close this issue?

Updated by Ingo Renner about 1 month ago

  • Status changed from Needs Feedback to Closed
  • Assignee deleted (Thurnheer-Meier Andreas)
  • TYPO3 Version set to 4.5
  • Has patch set to No

closing since no feedback has been provided

Also available in: Atom PDF