diff options
author | sterni <sternenseemann@systemli.org> | 2021-01-29T11·22+0100 |
---|---|---|
committer | sterni <sternenseemann@systemli.org> | 2021-01-29T17·38+0000 |
commit | 0176a9e300062ae2edf2f0ba2e365a8c2c4dbc99 (patch) | |
tree | d8a5627058cacefa58948fcfeb8acf51c8977e6f /nix/runExecline | |
parent | 001ee91169c4e25bd3696fc3c69e5151f5547a7f (diff) |
fix(panettone): handle missing DNs when looking up displaynames r/2152
* Fix find-user-by-dn raising an error condition if the search returns no results, return nil instead. * Adopt strategy of defaulting to “someone” as displayname if lookup fails for all usage of displaynames in panettone. I've tested this change for issues and comments created by missing users. Adjusting the displayname seems to fix all 500 being created by missing users both logged out and logged in. Change-Id: I0a84eb0631c4a49f1664bed6d03afa60dce6eb47 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2448 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi>
Diffstat (limited to 'nix/runExecline')
0 files changed, 0 insertions, 0 deletions