Skip to content

Precedence of included profiles _still_ broken since 2.0.2  #15598

Closed
@jruhe-adesso

Description

@jruhe-adesso

Although classified as regression and closed #13151 is still present.

Consider a application-e.yml

spring:
  profiles:
    include: dev

Starting the the application with

-Dspring.profiles.active=e

results in following console output in Spring Boot 2.0.2+:

The following profiles are active: e,dev

But I expect the right order to be

dev,e

because the current behaviour makes is virtually impossible to build up a profile hierarchy, as more specific profiles cannot overwrite properties of less specific profiles.

If current behaviour is not a bug, an explaination would be very helpful.

Thanks a lot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: invalidAn issue that we don't feel is valid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions