Plasmid editor: "commit to <branch_name> branch" button is nonfunctional. #6
Opened by jeremycahill on 2019-10-23T16:10:12.225761Z.
jeremycahill commented 2019-10-23T16:10:12.233307Z.

Various attempts to commit a new plasmid via <https://genepool.me/jeremycahill/prime-editing/new/master/?plasmid=1> fail. This is unaffected by all of the following: 1. completion or non-completion of commit message info 2. completion or non-completion of `Properties` info 3. file extension used in commit prompt's `File Name` field 4. test sequence content, including FASTA header or no-header 5. sequence upload method — direct paste versus file drag&drop 6. whether the repo is bare. Tested on current FF, FF dev, and chrome builds.

jeremycahill commented 2019-10-23T16:32:36.972542Z.

Link machine broke again. Links in `<>` will be stripped? \*Various attempts to commit a new plasmid via `https://genepool.me/jeremycahill/prime-editing/new/master/?plasmid=1` fail.

jeremycahill commented 2019-10-23T16:55:53.363092Z.

Further test that failed: committing from a subdirectory with test sequence [addgene 132774](https://www.addgene.org/132774/). (File extension doesn't match the content in the screenshot but multiple extensions failed the same way.) ![2019-10-23_011520_Genepool.png](https://files.catbox.moe/ciunz9.png)

jeremycahill commented 2019-10-23T16:57:18.047478Z.

Further test that passed: committing exactly the sequence mentioned in the guide doc, from addgene in genbank format. Link: https://genepool.me/jeremycahill/prime-editing/master/puc19_test-05-upload-in-topdir.gbk/ Munged if the above breaks: `https://genepool.me/jeremycahill/prime-editing/master/puc19_test-05-upload-in-topdir.gbk/`

jeremycahill commented 2019-10-23T17:02:50.824633Z.

Further test that passed: same as previous but directly pasted. No header. Link: https://genepool.me/jeremycahill/prime-editing/master/puc19_test-06-direct-paste-in-topdir.txt/ `https://genepool.me/jeremycahill/prime-editing/master/puc19_test-06-direct-paste-in-topdir.txt/`

jeremycahill commented 2019-10-23T17:10:08.151164Z.

Addendum to the initial list of conditions tested, in the OP: 7\. trailing whitespace at end of sequence paste and files Since I was testing with addgene, sequences terminate in a newline followed by a line containing 8 spaces. Modifying this had no effect.

tim commented 2019-10-23T19:20:20.725347Z.

Can't seem to replicate this bug. Just tested dropping a gbk into the plasmid editor with [addgene 132774](https://www.addgene.org/132774/sequences/) and committed to a subdirectory without problem via firefox without issue. When it fails does the form just not submit or does it return some 400/500 error?

jeremycahill commented 2019-10-24T01:31:39.605455Z.

When it fails, nothing visible happens on the page at all. The button is clicked and nothing changes. If there's an http error code getting logged to console or similar, I'll have to check later.

jeremycahill commented 2019-10-24T03:21:53.751364Z.

Further attempts have passed. Drag&drop and paste both working currently. I'll check back tomorrow. Maybe it affects new accounts? Intermittent connectivity issue on the backend? Dunno.

jeremycahill commented 2019-10-24T15:42:32.305080Z.

No problem today.

jeremycahill commented 2019-10-24T17:39:57.921412Z.

Ideally I'd keep this open a bit longer in case the problem resurfaces, but I'm pretty busy for the rest of the week. So I'll close now. Now that I'm no longer experiencing the bug, any further end-user guesswork from me will just be uninformed voodoo. If it's helpful to ping me or reopen later on, tim and co, feel free.