jmix-framework / jmix

Jmix framework
https://www.jmix.io
Apache License 2.0
487 stars 112 forks source link

Exclude @SystemLevel and @Secret properties from wildcard coverage #3402

Open Gavrilov-Ivan opened 2 weeks ago

Gavrilov-Ivan commented 2 weeks ago

Environment

Jmix version: 2.x

Bug Description

@SystemLevel and @Secret properties are included into indexing schema via wildcard.

Steps To Reproduce

  1. Create entity with properties annotated with SystemLevel and Secret annotations.
  2. Create index definition for created entity, include all properties by using wildcard "*".
  3. Check indexed data.

Current Behavior

Properties and their data are present in index.

Expected Behavior

Such properties should not be evaluated via wildcard (but should be via direct declaration).