Project

General

Profile

Actions

Bug #7418

closed
JI JI

requires: rules with unmet requirements are still loaded

Bug #7418: requires: rules with unmet requirements are still loaded

Added by Jason Ish over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

By design, unknown expressions in the requires keyword are allowed for future compatibility, however their presence should mean that requirements are not met.

For example, if someone adds to a rule:

requires: foo bar;

The rule is parsed and will attempt to be loaded. However, we don't know anything about the requirement of "foo bar", so we should not load the rule and skip it.


Subtasks 1 (0 open1 closed)

Bug #7434: requires: rules with unmet requirements are still loaded (7.0.x backport)ClosedJason IshActions

JI Updated by Jason Ish over 1 year ago Actions #1

  • Target version changed from TBD to 7.0.8

JI Updated by Jason Ish over 1 year ago Actions #2

  • Target version changed from 7.0.8 to 8.0.0-beta1

OT Updated by OISF Ticketbot over 1 year ago Actions #3

  • Subtask #7434 added

OT Updated by OISF Ticketbot over 1 year ago Actions #4

  • Label deleted (Needs backport to 7.0)

JI Updated by Jason Ish over 1 year ago Actions #5

  • Status changed from In Review to Resolved

JF Updated by Juliana Fajardini Reichow over 1 year ago Actions #6

  • Subject changed from requires: treat unknown requirements as unmet requirements to requires: rules with unmet requirements are still loaded
  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom