Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#2 ped_id format wrong when inserting individuals from webform

closed-fixed
None
7
2011-11-17
2011-11-16
Anne Degavre
No

When inserting individuals from webform the pedigree id format accepted is digit only.
When inserting from a file the format accepted is /\w+\.

The reason is it is defined so in insert_individuals.php (/\d+/).

Discussion

  • Anne Degavre
    Anne Degavre
    2011-11-16

    • assigned_to: nobody --> ern_day
     
    • priority: 5 --> 7
     
    • status: open --> closed-fixed
     
  • changed the pattern match for web-form variables for pedigree, individual, father and mother IDs from checking for just digits to checking for any word character to allow general character based ids on lines 387-390 and 461-464.

    The updated script can be downloaded from : http://ggsd.cvs.sourceforge.net/viewvc/ggsd/ggsd/cgi-bin/insert_individuals.php?view=log

    Select download for version 1.11

    Thanks to Anne for catching this!