You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ApplicationMatcher#result changes nil values to a blank string, then calls #process_split which changes the blank string to an empty array, then (for a single-valued property) ultimately converts the empty array to a string value of "[]" via #single_metadata.
This is a tricky one... I think we want@result to be an empty array [] for multi-valued properties (see f2c2652), so I think setting it back to nil might cause issues for those.
What do you think about making a change in #single_metadata instead? Maybe:
ApplicationMatcher#result changes nil values to a blank string, then calls #process_split which changes the blank string to an empty array, then (for a single-valued property) ultimately converts the empty array to a string value of "[]" via #single_metadata.
Line 25 of ApplicationMatcher note that nil values are transformed into empty strings, but then line 28 has a nil check that will always fail. Suggest adding after line 26 something to recapture lost nil values, such as:
The text was updated successfully, but these errors were encountered: