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

Data Retention Rule containing Pipeline condition causes Impact Summary to fail #3074

Closed
stroomdev10 opened this issue Oct 19, 2022 · 2 comments
Assignees
Labels
Projects

Comments

@stroomdev10
Copy link
Member

stroomdev10 commented Oct 19, 2022

Add a rule Pipeline is aPipelineName , press save, then hit the Impact Summary go button

You should get get a blank popup.

@stroomdev10 stroomdev10 added this to To Do Bugs in Stroom 7.0 via automation Oct 19, 2022
@at055612 at055612 self-assigned this Oct 19, 2022
at055612 added a commit that referenced this issue Oct 19, 2022
at055612 added a commit that referenced this issue Nov 1, 2022
Fix inFolder code.
Change store to push filtering by name down to the persistence.
at055612 added a commit that referenced this issue Nov 1, 2022
at055612 added a commit that referenced this issue Nov 3, 2022
This is more efficient use of the db. Also add suggestions to some
of the searchables.
at055612 added a commit that referenced this issue Nov 3, 2022
@at055612
Copy link
Member

at055612 commented Nov 3, 2022

The following SQL will identify processor filters that use now unsupported term conditions on the Pipeline field

select
    p.id as processor_id,
    pf.id as filter_id,
    d.name as pipeline_name,
    pf.data as filter_xml
from processor_filter pf
inner join processor p on pf.fk_processor_id = p.id
inner join doc d on p.pipeline_uuid = d.uuid and d.ext = 'meta'
where ExtractValue(
    pf.data, 
    "count(/query/expression//term[./field='Pipeline' and (./condition='EQUALS' or ./condition='CONTAINS' or ./condition='IN' or ./condition='IN_DICTIONARY')])") > 0;

at055612 added a commit that referenced this issue Nov 24, 2022
PR for #3074 - Data Retention Rule containing Pipeline condition causes Impact Summary to fail
@at055612
Copy link
Member

Fixed in v7.0.10

Stroom 7.0 automation moved this from To Do Bugs to Done Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Stroom 7.0
  
Done
Development

No branches or pull requests

2 participants