Issue Bug Rejected

#32778Shortcut to 'first subpage' fails when 'move-to' placeholders are among subpages.

Bart Dubelaar 12/22/11, 12:45 updated 01/29/15, 15:34

Description

When a page of type shortcut points to ‘first subpage’ and ‘move-to’ placeholders are among the subpages, then a draft workspace preview throws this error: “There is no entry in the $TCA array for the table “pages”. This means that the function enableFields() is called with an invalid table name as argument. “

This is because the function t3lib_pageSelect::movePlhOL calls enableFields, but the TCA is not loaded yet.

If others can confirm this bug, then how can it be fixed? Should enablefields load the TCA when not present? Or should the movePlhOL be altered so that is doesn’t call enablefields?

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.