Skip to content

configuration with symfony 4.1 #50

@schneidr

Description

@schneidr

I'm trying to configure the bundle with symfony 4.1.

After installing the bundle all I get on my site (previously authenticated with the regular Symfony\Component\Ldap\Ldap component) is an exception with:

Your configuration must have at least one domain.

Generating the config does not work:

$ php bin/console ldaptools:generate:config
  There are no commands defined in the "ldaptools:generate" namespace.

  Did you mean this?
      doctrine:generate

I manually created a config.yml in the config directory of my application, but it seems it is ignored.

When I try to debug the configuration the bundle is listed:

$ php bin/console config:dump-reference
Available registered bundles with their extension alias if available
====================================================================

 ---------------------------- ------------------------
  Bundle name                  Extension alias
 ---------------------------- ------------------------
  [...]
  LdapToolsBundle              ldap_tools
  [...]

But when I try to get more information about it's configuration, as described here all I get is:

$ php bin/console config:dump-reference  LdapToolsBundle

In AbstractConfigCommand.php line 108:

  The extension with alias "ldap_tools" does not have its getConfiguration()
  method setup

This is my first project with the symfony framework. I know a lot has changed with version 4, has the configuration management changed so much that the bundle doesn't work with it yet, or do I just have to place the configuration file in the proper place?

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