Item with no variable can be selected in new condition builder


When building a filter based on variables, catalog items may appear that do not have any variables associated with them.

Steps to Reproduce

Scenario 1:

  1. Create a list report with requested_item.
  2. Apply the filter Variables. 10 Things . (item without a variable). It should not be possible to apply filters on an item without a variable.

Scenario 2:

  1. Create list report with requested item.
  2. Select filter Variables..Pens (box of 10) is 1.
  3. Run report and change the filter to Variables. 10 Things. (item without variable).
  4. The filter value does not reset.


If you remove the condition manually, the filter will work as desired. The presence of the empty items do not pose any functional problem, and they may be ignored safely.

Related Problem: PRB725039