Skip to content

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

@sparkhi

Description

@sparkhi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions