Bug #3704

Updated by Brett Smith over 7 years ago

Part one (fixed): In current master Workbench, when I try to select inputs for a pipeline that has search terms for its inputs, the search fails. Workbench console shows the following—the filters parameter seems malformed.

<pre>
Started GET "/collections/choose?partial=true&filters=%5B%5B%22owner_uuid%22%2C%22%3D%22%2C%224xphq-j7d0g-7qvnywohs3wbwi0%22%5D%5Dany%2Cilike%2C%25Tutorial+chromosome+19+reference%25" for ::1 at 2014-08-26 16:41:36 -0400
Processing by CollectionsController#choose as JSON
Parameters: {"partial"=>"true", "filters"=>"[[\"owner_uuid\",\"=\",\"4xphq-j7d0g-7qvnywohs3wbwi0\"]]any,ilike,%Tutorial chromosome 19 reference%"}
</pre>

Part two (open): After Tom's updates, the filters are well-formed again, but the steps to find a Collection from the tutorial project fail, because they search for a Collection with two different owner_uuids.

<pre>

Started GET "/collections/choose?partial=true&filters=%5B%5B%22owner_uuid%22%2C%22%3D%22%2C%22qr1hi-j7d0g-keafgkrcj1uoexf%22%5D%2C%5B%22any%22%2C%22ilike%22%2C%22%25Tutorial+chromosome+19+reference%25%22%5D%2C%5B%22owner_uuid%22%2C%22%3D%22%2C%22qr1hi-j7d0g-u7zg1qdaowykd8d%22%5D%5D&project_uuid=qr1hi-j7d0g-u7zg1qdaowykd8d" for ::1 at 2014-09-02 09:16:54 -0400
Processing by CollectionsController#choose as JSON
Parameters: {"partial"=>"true", "filters"=>"[[\"owner_uuid\",\"=\",\"qr1hi-j7d0g-keafgkrcj1uoexf\"],[\"any\",\"ilike\",\"%Tutorial chromosome 19 reference%\"],[\"owner_uuid\",\"=\",\"qr1hi-j7d0g-u7zg1qdaowykd8d\"]]", "project_uuid"=>"qr1hi-j7d0g-u7zg1qdaowykd8d"}
</pre>

Back