tair / toastdos-back

The back-end system for the GOAT community annotation tool
GNU General Public License v3.0
7 stars 0 forks source link

Cannot 'add another annotation' when >1 gene #337

Closed lreiser closed 5 years ago

lreiser commented 5 years ago

Encountered a problem when trying to make more than one annotation when more than ONE gene has been added to the submission page

  1. Login 2.Click submit (blank submission page)
  2. Enter data PMID:30589221 GENE1:AT2G01710 GENE2: AT1G62970 GENE3: AT5G04940
  3. Create one annotation
  4. Click add another annotation- the only form field displayed is the annotation type drop down menu Can't test more because the ORCID login stopped working

screenshot_1567

JKingSE commented 5 years ago

When reproducing this bug, I see the same issue when the information of the annotation below the gene is filled in before clicking "Add Another Annotation". If "Add Another Annotation" is clicked before putting information into the first annotation, then the fields for the second annotation come up. This might help narrow down the cause.

lreiser commented 5 years ago

Expected Behavior from (http://toastdos.phoenixbioinformatics.org/)

  1. Entered PMID and 3 gene names

screenshot_1598

  1. Enter annotation for AT2G01710 and another annotation for AT1G62970 screenshot_1599

  2. Review submission screen screenshot_1600

lreiser commented 5 years ago

Observed Behavior from staging server (http://52.14.163.196:4200/submission)

  1. After adding publication and 3 genes screenshot_1601

  2. After entering first annotation, there are no data entry fields for second annotation screenshot_1602

lreiser commented 5 years ago

346 again is a dependency here.

The primary problem is resolved, in that I am able to add annotations for >1 gene. However, upon review the gene is undefined for every instance where I have to select anything but default option from the drop down menu. screenshot_1647 @tberardini verify?

tberardini commented 5 years ago

I see the same behavior as @lreiser describes above.

lreiser commented 5 years ago

I am able to add 3 genes and add annotations of different types to each of the three genes. screenshot_1661