14287: Make collection name "" equivalent to null.
authorTom Clegg <tclegg@veritasgenetics.com>
Wed, 5 Jun 2019 19:00:53 +0000 (15:00 -0400)
committerTom Clegg <tclegg@veritasgenetics.com>
Mon, 17 Jun 2019 13:54:39 +0000 (09:54 -0400)
commit6bf6db2bcd17447bc70ae961aa5502c97874ee5d
treed2dfde637e559230f868618051a9b2b9899209f2
parentfb4231f67ad16724f24df55cc9a3d0e4aa8fb7f3
14287: Make collection name "" equivalent to null.

Regardless of whether name is set/updated to "" or null, it is exempt
from the unique-name-in-project constraint, and returned as "" in API
responses.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>
apps/workbench/app/helpers/application_helper.rb
apps/workbench/test/integration/pipeline_instances_test.rb
services/api/app/models/collection.rb
services/api/test/unit/collection_test.rb