Skip to content

Profile activation: not operator does not work consistently [SPR-16465] #21010

@spring-projects-issues

Description

@spring-projects-issues

Pushkar Prakash opened SPR-16465 and commented

bcd44f3
As mentioned in the above commit, the following works

<beans profile="p1,!p2">

But, this does not work

<beans profile="!p1,!p2">

Even this does not work.

<beans profile="[{!p1},{!p2}]">

Affects: 3.2.18, 4.3.14, 5.0 GA

Reference URL: bcd44f3

Issue Links:

Referenced from: commits 285b01f, 1444094

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)status: declinedA suggestion or change that we don't feel we should currently apply

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions