Skip to content

Can't Upgrade to v3.0.0 - "The feature filter '' specified for feature '' was not found. #313

@hilljaycie14

Description

@hilljaycie14

Our team implements two custom feature filters: MyContextualFilter & MyFeatureFilter.

As soon as we upgrade from v2.6.1, we receive the following error Microsoft.FeatureManagement.FeatureManagementException: The feature filter 'MyContextual' specified for feature 'TEST-123' was not found. after calling await _featureManager.IsEnabledAsync("TEST-123").

  • I thought maybe it was an issue with how the flag was created, so I used another arbitrary name and it resulted in the same error.
  • The breakpoint set in both feature filters at the start of EvaluateAsync is never hit

This is where the error originates from and it seems like it has to be related to this change, as its the only change on this file since v3.0.0 was released.

Anyone have any ideas? Really scratching our heads here, and we need to upgrade ASAP

ETA: it seems weird that the contextual filter would be throwing an error when no context is being provided to use that filter

Metadata

Metadata

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