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

Enum based filters do not take effect when exporting data #1121

Open
sparkhi opened this issue Jul 8, 2024 · 0 comments
Open

Enum based filters do not take effect when exporting data #1121

sparkhi opened this issue Jul 8, 2024 · 0 comments
Labels

Comments

@sparkhi
Copy link
Collaborator

sparkhi commented Jul 8, 2024

The filters, which are internally based on Enums (i.e. RESOURCE_TYPE, IDENTIFICATION_METHOD and JOB_STATUS) fail to be applied when exporting the data.

Steps to reproduce:

  1. Launch Droid GUI
  2. Add some folder, choose a folder which has files as well as folders underneath
  3. Click start and run the identification
  4. Click on Filter and add a filter (e.g. RESOURCE_TYPE Any of FILE)
  5. Run an export
  6. You will notice that the export is totally blank because none of the records satisfy the filter criteria. BUG!! 🐛

Observed as far back as v6.6.1, It worked fine in v6.5


Hint: I believe the comparison between an Enum and an Integer value corresponding to its Ordinal is failing

@sparkhi sparkhi added the bug label Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant