Skip to content

Command not registered if @Profile(..) is used and activated #1325

@tkrah

Description

@tkrah

Hi,

I got some command which have:

@Component
@Profile("solr")
public class IndexCommand {
...
}

In v3 this works like expected, if the profile solr is enabled, it gets registered.

In v4 the command is not available at all if you use @Profile(..) although the profile is activated - looks like a bug to me, anyone?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions