Changes between Version 27 and Version 28 of Pakistan
- Timestamp:
- 08/12/10 14:11:03 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Pakistan
v27 v28 88 88 IntegrityError: (1452, 'Cannot add or update a child row: a foreign key constraint fails (`sahana/gis_location_name`, CONSTRAINT `gis_location_name_ibfk_1` 89 89 }}} 90 Seems 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. 90 91 91 92 NB These files are fully in-sync with the [https://code.launchpad.net/~michael-howden/sahana-eden/adpc ADPC branch] which works: … … 93 94 * static/scripts/s3/s3.multiselect.widget.js 94 95 * static/styles/s3/s3.multiselect.widget.css 95 * T His 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 96 97 97 98 This 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}}}):