Skip to content
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

rules export and import bug in json #662

Closed
silic0ns0ul opened this issue Nov 26, 2024 · 2 comments
Closed

rules export and import bug in json #662

silic0ns0ul opened this issue Nov 26, 2024 · 2 comments

Comments

@silic0ns0ul
Copy link

Running Lulu v2.9.6 on MacOS Sequoia v15.1.1. I think I found this bug when trying to import rules that I had exported.

To recreate issue, try the following:

  • Use the dropdown menu "Rules -> Export" to save rules in json file.
  • Delete all rules.
  • Next, try using "Rules -> Import" and select the json file.

Probably it will say something like "error importing rules. see log for details."

Checking the json file, it seems like the name-value pair for the rule's creation timestamp is not formatted correctly because it is missing the quote marks around the timestamp value. ie, it will look like "creation" : timestamp when it should be "creation" : "timestamp"

objective-see added a commit that referenced this issue Dec 19, 2024
fixed bug in rule exportation
@objective-see
Copy link
Owner

Thanks for the bug report and suggested fix (which was spot on). 🙏🏽

I've just committed a fix, the will be in the next (soon to be released) version.

@objective-see
Copy link
Owner

Fixed in v2.9.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants