Skip to content

Problem with siteIdentifier #1

Description

@devmes

I have tried to overwrite the SiteIdentifier in my extension in Configuration/Services.yaml. However, this configuration is not accepted and I get the following error message when calling it in the CLI:
‘There is not site identifier provided. Please provide one via Service.yaml or Service.php. Read README.md for more help’

My Service.yaml file looks like this:

services:
  TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface:
    alias: 'Undkonsorten\ExtbaseCliAwareConfigurationManager\Configuration\CliAwareConfigurationManager'
    public: true

  Undkonsorten\ExtbaseCliAwareConfigurationManager\Configuration\CommandLineInterfaceConfigurationManager:
    arguments:
      $siteIdentifier: 'mysite'

Do you have any idea what the problem could be?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions