Problem/Motivation

The "Failed" views filter shows 301s as errors. It also doesn't respect the "Don't treat these response codes as errors" setting.

Steps to reproduce

N/A

Proposed resolution

Use a custom views filter plugin that's able to programmatically resolve the "Failed" filter based off what the user has configured in "Don't treat these response codes as errors".

It'll keep all the other filters like "Success (2xx)", "Redirect (3xx)" etc.

Remaining tasks

Provide MR.

User interface changes

N/A

API changes

N/A

Data model changes

N/A

CommentFileSizeAuthor
#2 3619647.patch4.01 KBshank115

Comments

codebymikey created an issue. See original summary.

shank115’s picture

Status: Active » Needs review
StatusFileSize
new4.01 KB

Try the patch that I've attached, and if it works please create a mr out of it.

codebymikey’s picture

@shank115, is there a reason you couldn't create a MR with these changes?

It makes it easier to review and work with.