#3084 DP: Don't pass empty string, but NULL to providers
Closed: Fixed None Opened 5 years ago by jhrozek.

Since the DP refactoring, we don't send NULL to providers, but an empty string. This breaks some corner cases in providers, like lookups of services by protocol.

Pavel suggested to amend check_and_parse_filter() in dp_target_id.c so it assign NULL instead of "" in data->filter_value (and other) using SBUS_SET_STRING().

We should do this in 1.14.1

When working on this ticket, please also revert changes in aa58e21

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.14.1

Fields changed

owner: somebody => pcech

Fields changed

status: new => assigned

Fields changed

patch: 0 => 1

Fields changed

rhbz: => 0


resolution: => fixed
status: assigned => closed

Metadata Update from @jhrozek:
- Issue assigned to pcech
- Issue set to the milestone: SSSD 1.14.1

4 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/4117

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.