Page MenuHomePhabricator

Error when searching Maniphest task IDs with improper format could be less cryptic: "Expected a numeric scalar or null for %Ld conversion"
Open, Stalled, LowPublic

Description

Upstream: https://we.phorge.it/T15838

User story: As a user looking for direction on how to search by ID, I would like a message with more guidance, so that I can find my way to the proper format on my own.

You can search for specific task IDs by leveraging a hidden "IDs" field, revealed when a search URL takes the following format: https://phabricator.wikimedia.org/maniphest/?ids=1,2,3,4#R

This is a very useful feature! (Useful enough that it might warrant being visible by default, but that's a separate issue).

The field will also appear if you type in, say, https://phabricator.wikimedia.org/maniphest/?ids=T123. However, the addition of a non-numerical value ("T", as most tasks are prefixed and might be intuited), while allowed in the field once it is revealed, will throw an error when clicking "Search":

image.png (155×571 px, 4 KB)

I have updated documentation to mitigate the issue, but I still think it would be inclusive and friendly to change this error. :)

Event Timeline

Aklapper renamed this task from Maniphest: Error thrown, when searching IDs field with an improper format, is not as helpful as it could be to Error when searching Maniphest task IDs with improper format could be less cryptic: "Expected a numeric scalar or null for %Ld conversion".Oct 21 2020, 9:41 AM
Aklapper edited projects, added Phabricator (Upstream); removed Phabricator.
Aklapper triaged this task as Lowest priority.May 30 2021, 9:35 AM
Aklapper raised the priority of this task from Lowest to Low.
Aklapper updated the task description. (Show Details)
Aklapper moved this task from Backlog to Upstreamed on the Phabricator (Upstream) board.
Aklapper changed the task status from Open to Stalled.May 29 2024, 10:12 AM
Aklapper moved this task from Patch proposed upstream to Patch merged upstream on the Upstream board.