Project

General

Profile

Actions

Bug #7418

closed

requires: rules with unmet requirements are still loaded

Added by Jason Ish 28 days ago. Updated 14 days 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
Actions #1

Updated by Jason Ish 24 days ago

  • Target version changed from TBD to 7.0.8
Actions #2

Updated by Jason Ish 22 days ago

  • Target version changed from 7.0.8 to 8.0.0-beta1
Actions #3

Updated by OISF Ticketbot 22 days ago

  • Subtask #7434 added
Actions #4

Updated by OISF Ticketbot 22 days ago

  • Label deleted (Needs backport to 7.0)
Actions #5

Updated by Jason Ish 22 days ago

  • Status changed from In Review to Resolved
Actions #6

Updated by Juliana Fajardini Reichow 14 days ago

  • 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: Atom PDF