Skip to content
  • Fokkema's avatar
    New draft of the import script: · 35c55063
    Fokkema authored
    - Import is only allowed by managers right now, because security checks are missing.
    - Import now processes Screenings, Screenings_To_Genes and Variants_On_Genome.
    - LOVD_Custom's checkSelectedInput() now works with import.php's non-array values as well.
    - LOVD_Object's checkFields() now checks, for non-custom column select fields, if the selected value(s) actually match the input list. This should always be true, but if users are manipulating LOVD forms, this may have in the worst case scenario, caused query errors while inserting or editing data.
      * This means that imports are now also checked for valid input in select fields.
      * Because of this change, specific checks have been removed from the checkFields() of LOVD_Custom, LOVD_Disease, LOVD_Gene, LOVD_GenomeVariant and LOVD_Screening.
    
    
    git-svn-id: https://humgenprojects.lumc.nl/svn/LOVD3/trunk@234 a7477d18-a37e-46de-aef1-57953c184492
    35c55063