-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing attribute 'fullpath' for evaluating boolean expression #125
Comments
To help reproducing the issue, could you show what your policy look like? In particular, in which clause the path is matched? |
Apologies for the delay. A policy basically looks either like this:
...or like that:
So I believe fullpath is only used as part of this fileclass:
But TBH we have made quite some changes since I opened this ticket so these differ a little bit from the original policy. I will try to test a little bit more when possible. But in any case, it seems to work fine with |
We've been investigating what could cause the following errors for existing files when using
post_sched_match = auto_update;
(the default):This has also been reported by others on the mailing list I believe.
When running the policy, we have a few occurrences per minute, so it's not insignificant.
We checked the errors with multiple FIDs, and every time, the path is OK in the DB, like for this one:
However, full logs show that the path is not resolved when the policy is run (example with another FID
0x2000523b3:0x1a:0x0
):It looks like if we set
post_sched_match = force_update;
, the error goes away. It's our current workaround, but I'm worried it will slow down the policy (testing now...).I'm suspecting an issue in
src/policies/policy_run.c:check_entry()
, when the path is updated:Any idea? :) Thx
The text was updated successfully, but these errors were encountered: