Closed (fixed)
Project:
File Log
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Apr 2021 at 08:57 UTC
Updated:
21 Apr 2021 at 15:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
prudloff commentedComment #4
cburschkaWow, this looks like an ancient logic error created in https://git.drupalcode.org/project/filelog/-/commit/78a84a866ad118fb489f...
The if-condition was reversed (from true on failure, causing logging to be disabled, to true on success, causing logging to be enabled), but instead of turning !A || !B into A && B, we only turned it into A || !B. Thanks for catching that!
Comment #5
cburschkaI'm expanding the functional test to check for this in the future. Here's a test-only patch.
Comment #7
cburschkaPatches look good, but the branch needs an upstream merge.
Comment #9
cburschkaPushed. Thanks for the fix!