Skip to content

NOT in If is not always correctly evaluated. #715

Description

@evert

This causes a litmus test to fail. See #702 for lots of detail.

The gist of it is this:

(Not <DAV:no-lock> ["c3d40b11121145ec31f5c1acc078b658"])

Should be interepreted as:

(Not <DAV:no-lock>) AND (["c3d40b11121145ec31f5c1acc078b658"])

Currently it is interpreted as:

Not (<DAV:no-lock> AND ["c3d40b11121145ec31f5c1acc078b658"])

The NOT can actually appear both in front of the lock token and the etag. Our data-structure assumes one NOT that appears in front of both. This needs to be tweaked and might be a breaking change.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions