Циклы зависимостей с TYPO3 Crawler и TYPO3 10.2 - PullRequest
0 голосов
/ 03 марта 2020

Ветвь искателя TYPO3v9 должна работать (по крайней мере, в большинстве случаев) с TYPO3 10.2. Но я получил сообщение об ошибке для циклических зависимостей не из composer, а из загрузки классов после активации расширения.

Your dependencies have cycles. That will not work out. Cycles found: 

aoe/crawler/initialization->typo3/cms-frontend/authentication,
aoe/crawler/initialization->typo3/cms-frontend/tsfe,
typo3/cms-core/normalized-params-attribute->typo3/cms-frontend/timetracker,
typo3/cms-frontend/authentication->typo3/cms-frontend/backend-user-authentication,
typo3/cms-frontend/authentication->typo3/cms-frontend/maintenance-mode,
typo3/cms-frontend/authentication->typo3/cms-frontend/site,
typo3/cms-frontend/backend-user-authentication->typo3/cms-frontend/site,
typo3/cms-frontend/base-redirect-resolver->typo3/cms-frontend/site-resolver,
typo3/cms-frontend/eid->typo3/cms-core/normalized-params-attribute,
typo3/cms-frontend/maintenance-mode->typo3/cms-core/normalized-params-attribute,
typo3/cms-frontend/maintenance-mode->typo3/cms-frontend/eid,
typo3/cms-frontend/page-argument-validator->typo3/cms-frontend/page-resolver,
typo3/cms-frontend/page-resolver->aoe/crawler/initialization,
typo3/cms-frontend/page-resolver->typo3/cms-frontend/authentication,
typo3/cms-frontend/page-resolver->typo3/cms-frontend/backend-user-authentication,
typo3/cms-frontend/page-resolver->typo3/cms-frontend/site,
typo3/cms-frontend/page-resolver->typo3/cms-frontend/static-route-resolver,
typo3/cms-frontend/preview-simulator->typo3/cms-frontend/authentication,
typo3/cms-frontend/preview-simulator->typo3/cms-frontend/backend-user-authentication,
typo3/cms-frontend/site->typo3/cms-core/normalized-params-attribute,
typo3/cms-frontend/static-route-resolver->typo3/cms-frontend/base-redirect-resolver,
typo3/cms-frontend/tsfe->typo3/cms-frontend/authentication,
typo3/cms-frontend/tsfe->typo3/cms-frontend/eid,
typo3/cms-frontend/tsfe->typo3/cms-frontend/page-argument-validator,
typo3/cms-frontend/tsfe->typo3/cms-frontend/page-resolver,
typo3/cms-frontend/tsfe->typo3/cms-frontend/preview-simulator

Я не совсем уверен, как с этим справиться. Любые предложения.

Вот composer.json на случай, если вам это нужно

{
    "name": "tnm/typo3v10-test",
    "type": "project",
    "description": "",
    "require": {
        "typo3/minimal": "^10.2",
        "typo3/cms-introduction": "~4.0",
        "typo3/cms-tstemplate": "^10.2",
        "typo3/cms-info": "^10.2",
        "typo3/cms-belog": "^10.2",
        "bk2k/bootstrap-package": "*",
        "aoepeople/crawler": "dev-typo3v9"
    },
    "config": {
        "vendor-dir": "vendor",
        "bin-dir": "bin"
    },
    "extra": {
        "typo3/cms": {
            "cms-package-dir": "{$vendor-dir}/typo3/cms",
            "web-dir": "public"
        }
    }
}
...