Closed Bug 1721821 Opened 3 years ago Closed 3 years ago

LDAP display result with property "Don't return more than" does not work in some cases

Categories

(Thunderbird :: Address Book, defect)

Thunderbird 91
defect

Tracking

(thunderbird_esr78 unaffected, thunderbird91 fixed)

RESOLVED FIXED
92 Branch
Tracking Status
thunderbird_esr78 --- unaffected
thunderbird91 --- fixed

People

(Reporter: adrien.rybarczyk, Assigned: rnons)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36

Steps to reproduce:

  1. Add an LDAP directory
  2. Set "Don't return more than" property, but not at 0
  3. Do an LDAP search which is supposed to return a lot of results

Actual results:

If the value of the property "Don't return more than" is less than the number of results, the popup displaying the results is not displayed.

I tested with Wireshark to verify that I was getting: "sizeLimitExceeded"

Expected results:

The popup with the results is displayed.

Is this a regression added in TB91 or also present in Tb78?

Regression in TB91.
The popup with the results is displayed in 78.

Thanks for reporting, can you post a screenshot of the popup you are talking about? I don't remember seeing one. I tested in 78 just now, set "Don't return more than" to 10, did a search and 10 results are returned. Didn't see any popup and don't know what the popup is supposed to do.

sizeLimitExceeded was incorrectly treated as failure, so the autocomplete popup was not shown.

Depends on D120685.

Assignee: nobody → remotenonsense

can you post a screenshot of the popup you are talking about?

Never mind, I see it's about the autocomplete in compose window now. Thanks

Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Keywords: regression
Regressed by: ldap-js
Target Milestone: --- → 92 Branch

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/902669b643c7
Fix ldap autocomplete when server returns sizeLimitExceeded. r=darktrojan

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED

Comment on attachment 9232764 [details]
Bug 1721821 - Fix ldap autocomplete when server returns sizeLimitExceeded. r=darktrojan

[Approval Request Comment]
Regression caused by (bug #): bug 1696625
User impact if declined: LDAP autocomplete doesn't work if server returns sizeLimitExceeded
Testing completed (on c-c, etc.): c-c
Risk to taking this patch (and alternatives if risky): low

Attachment #9232764 - Flags: approval-comm-beta?

Comment on attachment 9232764 [details]
Bug 1721821 - Fix ldap autocomplete when server returns sizeLimitExceeded. r=darktrojan

[Triage Comment]
Approved for beta

Attachment #9232764 - Flags: approval-comm-beta? → approval-comm-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: