Page MenuHomePhabricator

Fix searching legalpad documents by contributors
ClosedPublic

Authored by cspeckmim on Sep 4 2021, 5:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Feb 15, 1:59 PM
Unknown Object (File)
Sat, Feb 15, 1:37 PM
Unknown Object (File)
Fri, Feb 7, 2:16 PM
Unknown Object (File)
Fri, Feb 7, 2:16 PM
Unknown Object (File)
Fri, Feb 7, 2:15 PM
Unknown Object (File)
Mon, Feb 3, 3:33 AM
Unknown Object (File)
Fri, Jan 31, 12:54 AM
Unknown Object (File)
Wed, Jan 29, 1:57 AM
Subscribers

Details

Summary

Found in a change submitted to Phorge (https://we.phorge.it/D25018#inline-231), this fixes a typo in populating search the contributorPHIDs constraint in the Legalpad search engine.

Currently when trying to search legalpad documents by contributor an error is encountered:

Array for %Ls conversion is empty. Query: contributor.dst IN (%Ls)
Test Plan

I searched for legalpad documents based on a contributor and got back correct results.

Diff Detail

Repository
rP Phabricator
Branch
legalpad
Lint
Lint Passed
Unit
Tests Skipped
Build Status
Buildable 25541
Build 35319: Run Core Tests
Build 35318: arc lint + arc unit

Event Timeline

cspeckmim held this revision as a draft.
cspeckmim edited the summary of this revision. (Show Details)
cspeckmim edited the test plan for this revision. (Show Details)

I didn't make a task for this as it's a fairly small change and the reproduction/test case is also fairly simple.

cspeckmim retitled this revision from Fix typo in legalpad search engine to Fix searching legalpad documents by contributors.Sep 4 2021, 11:51 PM
This revision is now accepted and ready to land.Sep 5 2021, 12:17 AM