EBISPOT / goci

GWAS Catalog Ontology and Curation Infrastructure
Apache License 2.0
26 stars 19 forks source link

Bug when changing Curator Status of multiple studies in bulk in the curation interface #328

Open eks-ebi opened 3 years ago

eks-ebi commented 3 years ago

Encountered a bug when trying to change the status of multiple studies in this publication (https://www.ebi.ac.uk/gwas/curation/publication/32042192) from "Unpublished from catalog" to "Publish study".

I followed these steps:

  1. Selected all 13 studies (excluding the old empty entry) and clicked "Approve associations" to set all associations to approved (this succeeded)
  2. Selected all 13 studies, selected curation status = Publish study and clicked "Save Status". This should have changed the status of all selected studies but failed.

Result:

  1. Got a strange message in an alert box, with individual characters on new lines, e.g. Screenshot 2021-01-08 at 13 54 37 Full message is approximately:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd>
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>GWAS Curation Tool</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta charset="utf-8" / 
  2. Only the first publication I selected changed status successfully. The others all stayed as "Unpublished from catalog"

eks-ebi commented 3 years ago

Can confirm that this bug only occurs when status is changed from "Unpublished from catalog" --> "Publish study". i.e. NOT when changed from [something else] --> "Publish study".

ljwh2 commented 3 years ago

@eks-ebi please update ticket if this happens again