SynBioHub / synbiohub-lab

SynBioHub is a Web-based repository for synthetic biology, enabling users to browse, upload, and share synthetic biology designs.
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Creating more than one project without specifying an identifier breaks existing projects #14

Open Brad0440 opened 5 years ago

Brad0440 commented 5 years ago

If no identifier is specified, the URI appears to always be http://localhost:7777/user/brad0440//_collection/1. Error message when trying to access these projects (or the home page):

Error preparing view Error: Got more than one result for matchOne { http://localhost:7777/user/brad0440//_collection/1, http://purl.org/dc/terms/title, } at SBOL2Graph.matchOne (/home/bradley/Computational_Work/synbiohub-lab/node_modules/sbolgraph/sbolgraph/Graph.ts:71:19) at S2Collection.getProperty (/home/bradley/Computational_Work/synbiohub-lab/node_modules/sbolgraph/sbolgraph/Facade.ts:22:28) at S2Collection.getStringProperty (/home/bradley/Computational_Work/synbiohub-lab/node_modules/sbolgraph/sbolgraph/Facade.ts:40:41) at S2Collection.get name [as name] (/home/bradley/Computational_Work/synbiohub-lab/node_modules/sbolgraph/sbolgraph/sbol2/S2Identified.ts:21:21) at ViewIndex.prepare (/home/bradley/Computational_Work/synbiohub-lab/synbiohub/views/ViewIndex.ts:41:38) at

chrisAta commented 5 years ago

It's planned for SBH-L to create the identifier automatically at that stage, which would fix that problem