Overview
In some cases, you might end up to situation that property based search is not giving correct search results although property is seen in the metadata card.
E.g. in the below pictures, advanced search 'PropertyX is empty' does not show any results.
Solution
This can happen if you have created new metadata card configuration rule (MDCC), which adds the property, after the problematic object was created.
MDCC rule adds the property to the metadata card of the existing objects, but not to the database. Advanced search is based on the data in the database, so because of this, results are not found.
MDCC only modifies the UI and does not directly affect the data in the database.
In case of new objects the MDCC adds the property to the metadata card in the UI when the object is being created and thus the empty value also gets stored along the object.
For existing objects, the property is shown on the metadata card when the metadata card is opened due to the MDCC modifying the UI, however, the empty value (or any other value if provided) is stored only the next time the data is sent to the server (e.g. new version of the object is created).
