Changes between Version 27 and Version 28 of Pakistan


Ignore:
Timestamp:
08/12/10 14:11:03 (11 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Pakistan

    v27 v28  
    8888IntegrityError: (1452, 'Cannot add or update a child row: a foreign key constraint fails (`sahana/gis_location_name`, CONSTRAINT `gis_location_name_ibfk_1`
    8989}}}
     90Seems like the location_id isn't yet in the DB when the name_dummy_element.onaccept(db, session.rcvars.gis_location, request) attempts to update the link_table.
    9091
    9192NB These files are fully in-sync with the [https://code.launchpad.net/~michael-howden/sahana-eden/adpc ADPC branch] which works:
     
    9394 * static/scripts/s3/s3.multiselect.widget.js
    9495 * static/styles/s3/s3.multiselect.widget.css
    95  * THis function also needed syncing: shn_split_multi_value() in {{{modules/s3utils.py}}}
     96 * This function also needed syncing: shn_split_multi_value() in {{{modules/s3utils.py}}}, but still no joy
    9697
    9798This error occurs when looking at the gis_location table in Appadmin (Raw DB access) on a sqlite version with data there unless the .represent is commented out ({{{models/03_gis.py +503}}}):