Changeset 8005


Ignore:
Timestamp:
Aug 12, 2021, 10:44:12 AM (10 months ago)
Author:
Nicklas Nordborg
Message:

References #2265: Reporter search in Experiment explorer is broken

Seems like the problem was a side-effect from changes in #2207 [7799] that changed the PropertyFilter.getValueAsObject() method to return a parameterized object instead of a plain Object. This caused the compiler to select the Expressions.parameter(String, Type) method instead of the Expressions.parameter(String, Object) method. Fixed by calling the Expressions.parameter(String, Object, Type) method instead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.19-stable/src/core/net/sf/basedb/core/PropertyFilter.java

    r7926 r8005  
    12621262      else
    12631263      {
    1264         parameter = value == null ? null : Expressions.parameter(parameterName, getValueAsObject(unit, true));
     1264        parameter = value == null ? null : Expressions.parameter(parameterName, getValueAsObject(unit, true), getValueType());
    12651265      }
    12661266    }
Note: See TracChangeset for help on using the changeset viewer.