Сопоставление с таблицей «страниц» из Extbase в TYPO3 6.1

Я создал расширение с моделью доменаMessage, Эта модель имеет отношение m: n с TYPO3pages (та, которая содержит подробности таблицы, такие как title, issite_root и т. д.) таблицы. Тем не менее, с помощьюmapping to existing tables вариант, это дает мнеtype страница с сообщением об ошибке:

The configured type field for table "pages" is of type int(11) unsigned
This means the type field can not be used for defining the record type. 
You have to configure the mappings yourself if you want to map to this
table or extend the correlated class

Так что я просто создаю отношение без сопоставления, чтобы потом можно было отобразить его изsetup.txt.

Я создал модельPages вMyExt/Classes/Domain/Model/ со всеми получателями / установщиками и хранилищем вMyExt/Classes/Domain/Repository/.

В моем setup.txt я сделал это:

config.tx_extbase {
    persistence{
        enableAutomaticCacheClearing = 1
        updateReferenceIndex = 0
        classes {
        Tx_Playfield_Domain_Model_Pages {
            mapping {
                    tableName = pages
                columns {
                                uid.mapOnProperty               = uid
                                pid.mapOnProperty               = pid
                                sorting.mapOnProperty           = sorting
                                title.mapOnProperty             = title
                                subtitle.mapOnProperty          = subtitle
                            }
                }
            }
      }
    }
}

Но когда я пытаюсь получить доступ к модели Страниц, которую я создал,

var_dump($this->pagesRepository->findByUid(74));

его поискtx_playfield_domain_model_pages который не существует, он показывает

Table 'typo3.tx_playfield_domain_model_pages' doesn't exist: SELECT tx_playfield_domain_model_pages.* FROM tx_playfield_domain_model_pages WHERE tx_playfield_domain_model_pages.uid = '74' LIMIT 1

Что мне здесь не хватает?

Обновить

После следованияhttp://t3-developer.com/extbase-fluid/cheats-extbase/model/tabelle-pages-in-extbase/ предложенный @Michael я получаюempty result из$this->pagesRepository->findByUid(74)

setup.txt загружается. Я сделал это, чтобы проверить это:

plugin.tx_playfield{
settings{
 temp=yes
}
}

И к этому обращаются из моего контроллера.

Ответы на вопрос(2)

Ваш ответ на вопрос