phylotastic / phylotastic-portal

Web tool (ruby on rails) providing access to phylotastic services for acquiring species trees.
https://github.com/phylotastic/phylotastic/wiki
1 stars 3 forks source link

tree persistence bug #315

Closed arlin closed 6 years ago

arlin commented 6 years ago

In the portal, create named list A and make trees A1, A2.

Now delete list A.

The tree menu still lists A1 and A2 but apparently they are not available. Selecting A1 or A2 will result in an error message:

Screen Shot 2018-06-20 at 3.57.57 PM.png

ducvan0212 commented 6 years ago

I fixed this issue. I forgot to delete the trees associated with a list when upgrading the portal.

From now on, If you delete a list, the trees associated with the list will also automatically be removed.

To deal with existing trees associated with a deleted list, you still see the tree from tree viewer dropdown but if you click on that tree, the tree will be removed.

Thank you @arlin for pointing this out.

arlin commented 6 years ago

OK, thanks.