Search relies on optional count
field in response
#27517
Labels
A-Search
A-Timeline-Search
S-Major
Severely degrades major functionality or product features, with no satisfactory workaround
T-Defect
Z-Spec-Compliance
An area where Element doesn't correctly implement the spec
Steps to reproduce
count
field in the response body for the/client/v3/search
endpoint.For a server implementation reproducing the element bug, you can use commit
5c39c7c5
of grapevine, conduitdf16b2ba
(before a workaround for element was added inedfd3c1f
), or conduwuita2ee6b41
with theelement-hacks
feature disabled (before the workaround was made unconditional in0214caea
).Outcome
What did you expect?
Either some search results appear or it shows that there were no results. The
count
field is marked as optional in the spec, so it's absence should not break search client-side.What happened instead?
Hangs indefinitely, showing the loading animation:
Returning any value in the
count
field causes search to function as expected.Operating system
NixOS (linux)
Browser information
Firefox 126.0
URL for webapp
app.element.io
Application version
Element version: 1.11.67 Crypto version: Rust SDK 0.7.0 (61b175b), Vodozemac 0.5.1
Homeserver
Grapevine 5c39c7c5fff0e1a59999f0c13bf4aa48cb159129
Will you send logs?
Yes
The text was updated successfully, but these errors were encountered: