Project

General

Profile

Actions

Bug #47472

closed

rgw: lifecycle Filter clauses with Prefix and one Tag are valid

Added by Matt Benjamin over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The current decoding of lc Filter clauses rejects this currently. I propose that the current logic is really intended to reject empty Filter clauses, and that for a quick fix, it will be acceptable to tolerate but not require the actual And conjunction.

Actions #1

Updated by Matt Benjamin over 3 years ago

Actually, revising myself, existing code didn't and I guess need not reject empty rules? It hoped to reject malformed conjoined conditions, but did not do a structural parse so wasn't reliable in that.

Actions #2

Updated by Matt Benjamin over 3 years ago

  • Pull request ID set to 37160

Actually, revising myself, existing code didn't and I guess need not reject empty rules? It hoped to reject malformed conjoined conditions, but did not do a structural parse so wasn't reliable in that.

Actions #3

Updated by Matt Benjamin over 3 years ago

Actions #4

Updated by Casey Bodley over 3 years ago

  • Status changed from In Progress to Fix Under Review
Actions #5

Updated by J. Eric Ivancich over 3 years ago

No backports are listed, so I'm switching to resolved. If backports are appropriate, please update Backport and Status fields.

Actions #6

Updated by J. Eric Ivancich over 3 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF