Skip to content

Exclusion and inclusions lists are changed, they are doing the opposite #51

@nandorholozsnyak

Description

@nandorholozsnyak

Describe the bug
With the newly introduced exclusion and inclusion lists the devs are able to exclude or include specific groups or properties in their final document, but it is broken.

The problem is the following:

private void filterGroupsAndProperties(TemplateCustomization templateCustomization, CombinedInput entry, List<PropertyGroup> groups) {
        propertyGroupFilterService.postProcessPropertyGroups(new PostProcessPropertyGroupsCommand(templateCustomization, groups, entry.getIncludedGroups(), entry.getExcludedGroups(), entry.getIncludedProperties(), entry.getExcludedProperties()));
}

It should be:

private void filterGroupsAndProperties(TemplateCustomization templateCustomization, CombinedInput entry, List<PropertyGroup> groups) {
        propertyGroupFilterService.postProcessPropertyGroups(new PostProcessPropertyGroupsCommand(templateCustomization, groups, entry.getExcludedGroups(), entry.getIncludedGroups(), entry.getExcludedProperties(), entry.getIncludedProperties()));
}

A few parameters are changed.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions