{"action":"created","issue":{"url":"https://api.github.com/repos/gltn/stdm/issues/106","repository_url":"https://api.github.com/repos/gltn/stdm","labels_url":"https://api.github.com/repos/gltn/stdm/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/gltn/stdm/issues/106/comments","events_url":"https://api.github.com/repos/gltn/stdm/issues/106/events","html_url":"https://github.com/gltn/stdm/issues/106","id":164664687,"number":106,"title":"QGIS crash when creating table with the enclosed configuration","user":{"login":"wondie","id":9709624,"avatar_url":"https://avatars.githubusercontent.com/u/9709624?v=3","gravatar_id":"","url":"https://api.github.com/users/wondie","html_url":"https://github.com/wondie","followers_url":"https://api.github.com/users/wondie/followers","following_url":"https://api.github.com/users/wondie/following{/other_user}","gists_url":"https://api.github.com/users/wondie/gists{/gist_id}","starred_url":"https://api.github.com/users/wondie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wondie/subscriptions","organizations_url":"https://api.github.com/users/wondie/orgs","repos_url":"https://api.github.com/users/wondie/repos","events_url":"https://api.github.com/users/wondie/events{/privacy}","received_events_url":"https://api.github.com/users/wondie/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gltn/stdm/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"pgathogo","id":155431,"avatar_url":"https://avatars.githubusercontent.com/u/155431?v=3","gravatar_id":"","url":"https://api.github.com/users/pgathogo","html_url":"https://github.com/pgathogo","followers_url":"https://api.github.com/users/pgathogo/followers","following_url":"https://api.github.com/users/pgathogo/following{/other_user}","gists_url":"https://api.github.com/users/pgathogo/gists{/gist_id}","starred_url":"https://api.github.com/users/pgathogo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgathogo/subscriptions","organizations_url":"https://api.github.com/users/pgathogo/orgs","repos_url":"https://api.github.com/users/pgathogo/repos","events_url":"https://api.github.com/users/pgathogo/events{/privacy}","received_events_url":"https://api.github.com/users/pgathogo/received_events","type":"User","site_admin":false},"assignees":[{"login":"pgathogo","id":155431,"avatar_url":"https://avatars.githubusercontent.com/u/155431?v=3","gravatar_id":"","url":"https://api.github.com/users/pgathogo","html_url":"https://github.com/pgathogo","followers_url":"https://api.github.com/users/pgathogo/followers","following_url":"https://api.github.com/users/pgathogo/following{/other_user}","gists_url":"https://api.github.com/users/pgathogo/gists{/gist_id}","starred_url":"https://api.github.com/users/pgathogo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgathogo/subscriptions","organizations_url":"https://api.github.com/users/pgathogo/orgs","repos_url":"https://api.github.com/users/pgathogo/repos","events_url":"https://api.github.com/users/pgathogo/events{/privacy}","received_events_url":"https://api.github.com/users/pgathogo/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/gltn/stdm/milestones/3","html_url":"https://github.com/gltn/stdm/milestones/v1.2%20Beta","labels_url":"https://api.github.com/repos/gltn/stdm/milestones/3/labels","id":1268729,"number":3,"title":"v1.2 Beta","description":"This release will focus on enhancing the configuration module, bug fixes, UX enhancements and improving the user manual.","creator":{"login":"gkahiu","id":3840267,"avatar_url":"https://avatars.githubusercontent.com/u/3840267?v=3","gravatar_id":"","url":"https://api.github.com/users/gkahiu","html_url":"https://github.com/gkahiu","followers_url":"https://api.github.com/users/gkahiu/followers","following_url":"https://api.github.com/users/gkahiu/following{/other_user}","gists_url":"https://api.github.com/users/gkahiu/gists{/gist_id}","starred_url":"https://api.github.com/users/gkahiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkahiu/subscriptions","organizations_url":"https://api.github.com/users/gkahiu/orgs","repos_url":"https://api.github.com/users/gkahiu/repos","events_url":"https://api.github.com/users/gkahiu/events{/privacy}","received_events_url":"https://api.github.com/users/gkahiu/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":56,"state":"open","created_at":"2015-08-24T06:10:55Z","updated_at":"2016-07-09T14:37:52Z","due_on":"2017-05-30T21:00:00Z","closed_at":null},"comments":1,"created_at":"2016-07-09T12:17:38Z","updated_at":"2016-07-10T07:46:18Z","closed_at":null,"body":"QGIS crash when creating table with the attached configuration. The exception information is: The thread tried to read from or write to a virtual address for which it doesn’t have appropriate access. This happens after the wizard is finished and closed. see the attached file dump file and the image below. \r\n \r\n![image](https://cloud.githubusercontent.com/assets/9709624/16707883/daa6c5da-45e7-11e6-83dc-1cc96e8f05b3.png)\r\n\r\n\r\nAt the end of the above wizard, when checked the party entity for which I enabled supporting documents for, all its columns are removed from its configuration.stc and the newly created database. \r\n\r\nBelow is the affected configuration.\r\n```\r\n\r\n<Configuration version=\"1.2\">\r\n <Profile description=\"\" name=\"turkana\">\r\n  <ValueLists>\r\n   <ValueList name=\"check_social_tenure_relationship_document_type\">\r\n    <CodeValue value=\"General\" code=\"\"/>\r\n    <CodeValue value=\"Title\" code=\"\"/>\r\n   </ValueList>\r\n   <ValueList name=\"check_tenure_type\">\r\n    <CodeValue value=\"ownership\" code=\"OWN\"/>\r\n    <CodeValue value=\"lease\" code=\"LEA\"/>\r\n   </ValueList>\r\n   <ValueList name=\"check_document_type\">\r\n    <CodeValue value=\"Title\" code=\"T\"/>\r\n    <CodeValue value=\"Leashold\" code=\"LEA\"/>\r\n   </ValueList>\r\n   <ValueList name=\"check_gender\">\r\n    <CodeValue value=\"Male\" code=\"M\"/>\r\n    <CodeValue value=\"Female\" code=\"F\"/>\r\n   </ValueList>\r\n   <ValueList name=\"check_spatial_unit_document_type\">\r\n    <CodeValue value=\"General\" code=\"\"/>\r\n    <CodeValue value=\"Leease\" code=\"\"/>\r\n   </ValueList>\r\n   <ValueList name=\"check_party_document_type\">\r\n    <CodeValue value=\"General\" code=\"\"/>\r\n   </ValueList>\r\n  </ValueLists>\r\n  <Entity editable=\"True\" global=\"False\" associative=\"False\" description=\"\" documentTypeLookup=\"check_spatial_unit_document_type\" proxy=\"False\" createId=\"True\" supportsDocuments=\"True\" shortName=\"Spatial unit\" name=\"tu_spatial_unit\">\r\n   <Columns>\r\n    <Column unique=\"False\" tip=\"\" minimum=\"-2147483648\" maximum=\"2147483647\" description=\"\" index=\"False\" name=\"id\" searchable=\"True\" TYPE_INFO=\"SERIAL\" mandatory=\"False\"/>\r\n    <Column unique=\"False\" tip=\"\" minimum=\"0\" maximum=\"30\" description=\"\" index=\"False\" name=\"code\" searchable=\"True\" TYPE_INFO=\"VARCHAR\" mandatory=\"False\"/>\r\n    <Column unique=\"False\" tip=\"\" description=\"\" index=\"False\" name=\"polygon\" searchable=\"False\" TYPE_INFO=\"GEOMETRY\" mandatory=\"False\">\r\n     <Geometry layerDisplay=\"\" srid=\"4326\" type=\"2\"/>\r\n    </Column>\r\n    <Column unique=\"False\" tip=\"\" minimum=\"0.0\" maximum=\"1.79769313486e+308\" description=\"\" index=\"False\" name=\"area\" searchable=\"True\" TYPE_INFO=\"DOUBLE\" mandatory=\"False\"/>\r\n    <Column unique=\"False\" tip=\"\" minimum=\"0\" maximum=\"2147483647\" description=\"\" index=\"False\" name=\"admin_spatial_unit\" searchable=\"True\" TYPE_INFO=\"ADMIN_SPATIAL_UNIT\" mandatory=\"False\">\r\n     <Relation name=\"fk_admin_spatial_unit_set_id_tu_spatial_unit_admin_spatial_unit\"/>\r\n    </Column>\r\n    <Column unique=\"False\" tip=\"\" minimum=\"0\" maximum=\"2147483647\" description=\"\" index=\"False\" name=\"tenure_type\" searchable=\"True\" TYPE_INFO=\"LOOKUP\" mandatory=\"False\">\r\n     <Relation name=\"fk_tu_check_tenure_type_id_tu_spatial_unit_tenure_type\"/>\r\n    </Column>\r\n    <Column unique=\"False\" tip=\"\" minimum=\"0\" maximum=\"2147483647\" description=\"\" index=\"False\" name=\"related_entity\" searchable=\"False\" TYPE_INFO=\"FOREIGN_KEY\" mandatory=\"False\">\r\n     <Relation name=\"fk_tu_party_id_tu_spatial_unit_related_entity\"/>\r\n    </Column>\r\n    <Column unique=\"False\" tip=\"\" minimum=\"0\" maximum=\"1073741823\" description=\"\" index=\"False\" name=\"unlimited\" searchable=\"False\" TYPE_INFO=\"TEXT\" mandatory=\"False\"/>\r\n    <Column unique=\"False\" tip=\"\" minimum=\"1753-09-21\" maximum=\"7999-12-31\" description=\"\" index=\"False\" name=\"date_of_allocation\" searchable=\"False\" TYPE_INFO=\"DATE\" mandatory=\"False\">\r\n     <currentDate minimum=\"False\" maximum=\"True\"/>\r\n    </Column>\r\n   </Columns>\r\n  </Entity>\r\n  <Entity editable=\"True\" global=\"False\" associative=\"False\" description=\"\" proxy=\"False\" createId=\"True\" supportsDocuments=\"False\" shortName=\"Payment\" name=\"tu_payment\">\r\n   <Columns>\r\n    <Column unique=\"False\" tip=\"\" minimum=\"-2147483648\" maximum=\"2147483647\" description=\"\" index=\"False\" name=\"id\" searchable=\"True\" TYPE_INFO=\"SERIAL\" mandatory=\"False\"/>\r\n    <Column unique=\"False\" tip=\"\" minimum=\"0\" maximum=\"30\" description=\"\" index=\"False\" name=\"pay\" searchable=\"True\" TYPE_INFO=\"VARCHAR\" mandatory=\"False\"/>\r\n    <Column unique=\"False\" tip=\"person paying it.\" minimum=\"0\" maximum=\"2147483647\" description=\"person paying it.\" index=\"False\" name=\"person\" searchable=\"False\" TYPE_INFO=\"FOREIGN_KEY\" mandatory=\"False\">\r\n     <Relation name=\"fk_tu_party_id_tu_payment_person\"/>\r\n    </Column>\r\n   </Columns>\r\n  </Entity>\r\n  <Entity editable=\"True\" global=\"False\" associative=\"False\" description=\"\" documentTypeLookup=\"check_party_document_type\" proxy=\"False\" createId=\"True\" supportsDocuments=\"True\" shortName=\"Party\" name=\"tu_party\">\r\n   <Columns>\r\n    <Column unique=\"False\" tip=\"\" minimum=\"-2147483648\" maximum=\"2147483647\" description=\"\" index=\"False\" name=\"id\" searchable=\"True\" TYPE_INFO=\"SERIAL\" mandatory=\"False\"/>\r\n   </Columns>\r\n  </Entity>\r\n  <Relations>\r\n   <EntityRelation displayColumns=\"name,code\" child=\"social_tenure_relationship_supporting_document\" parent=\"check_social_tenure_relationship_document_type\" name=\"fk_tu_check_social_tenure_relationship_document_type_id_tu_social_tenure_relationship_supporting_document_document_type\" parentColumn=\"id\" childColumn=\"document_type\"/>\r\n   <EntityRelation displayColumns=\"\" child=\"social_tenure_relationship_supporting_document\" parent=\"social_tenure_relationship\" name=\"fk_tu_social_tenure_relationship_id_tu_social_tenure_relationship_supporting_document_social_tenure_relationship_id\" parentColumn=\"id\" childColumn=\"social_tenure_relationship_id\"/>\r\n   <EntityRelation displayColumns=\"\" child=\"social_tenure_relationship_supporting_document\" parent=\"supporting_document\" name=\"fk_tu_supporting_document_id_tu_social_tenure_relationship_supporting_document_supporting_doc_id\" parentColumn=\"id\" childColumn=\"supporting_doc_id\"/>\r\n   <EntityRelation displayColumns=\"name,code\" child=\"social_tenure_relationship\" parent=\"check_tenure_type\" name=\"fk_tu_check_tenure_type_id_tu_social_tenure_relationship_tenure_type\" parentColumn=\"id\" childColumn=\"tenure_type\"/>\r\n   <EntityRelation displayColumns=\"name,code\" child=\"Party\" parent=\"check_gender\" name=\"fk_tu_check_gender_id_tu_party_gender\" parentColumn=\"id\" childColumn=\"gender\"/>\r\n   <EntityRelation displayColumns=\"name,code\" child=\"Party\" parent=\"admin_spatial_unit_set\" name=\"fk_admin_spatial_unit_set_id_tu_party_admin_spatial_unit\" parentColumn=\"id\" childColumn=\"admin_spatial_unit\"/>\r\n   <EntityRelation displayColumns=\"name,code\" child=\"Spatial unit_supporting_document\" parent=\"check_spatial_unit_document_type\" name=\"fk_tu_check_spatial_unit_document_type_id_tu_spatial_unit_supporting_document_document_type\" parentColumn=\"id\" childColumn=\"document_type\"/>\r\n   <EntityRelation displayColumns=\"\" child=\"Spatial unit_supporting_document\" parent=\"Spatial unit\" name=\"fk_tu_spatial_unit_id_tu_spatial_unit_supporting_document_spatial_unit_id\" parentColumn=\"id\" childColumn=\"spatial_unit_id\"/>\r\n   <EntityRelation displayColumns=\"\" child=\"Spatial unit_supporting_document\" parent=\"supporting_document\" name=\"fk_tu_supporting_document_id_tu_spatial_unit_supporting_document_supporting_doc_id\" parentColumn=\"id\" childColumn=\"supporting_doc_id\"/>\r\n   <EntityRelation displayColumns=\"name,code\" child=\"Spatial unit\" parent=\"admin_spatial_unit_set\" name=\"fk_admin_spatial_unit_set_id_tu_spatial_unit_admin_spatial_unit\" parentColumn=\"id\" childColumn=\"admin_spatial_unit\"/>\r\n   <EntityRelation displayColumns=\"name,code\" child=\"Spatial unit\" parent=\"check_tenure_type\" name=\"fk_tu_check_tenure_type_id_tu_spatial_unit_tenure_type\" parentColumn=\"id\" childColumn=\"tenure_type\"/>\r\n   <EntityRelation displayColumns=\"name\" child=\"Spatial unit\" parent=\"Party\" name=\"fk_tu_party_id_tu_spatial_unit_related_entity\" parentColumn=\"id\" childColumn=\"related_entity\"/>\r\n   <EntityRelation displayColumns=\"name\" child=\"Payment\" parent=\"Party\" name=\"fk_tu_party_id_tu_payment_person\" parentColumn=\"id\" childColumn=\"person\"/>\r\n   <EntityRelation displayColumns=\"\" child=\"social_tenure_relationship\" parent=\"Payment\" name=\"fk_tu_payment_id_tu_social_tenure_relationship_party_id\" parentColumn=\"id\" childColumn=\"party_id\"/>\r\n   <EntityRelation displayColumns=\"\" child=\"social_tenure_relationship\" parent=\"Spatial unit\" name=\"fk_tu_spatial_unit_id_tu_social_tenure_relationship_spatial_unit_id\" parentColumn=\"id\" childColumn=\"spatial_unit_id\"/>\r\n   <EntityRelation displayColumns=\"name,code\" child=\"Party_supporting_document\" parent=\"check_party_document_type\" name=\"fk_tu_check_party_document_type_id_tu_party_supporting_document_document_type\" parentColumn=\"id\" childColumn=\"document_type\"/>\r\n   <EntityRelation displayColumns=\"\" child=\"Party_supporting_document\" parent=\"Party\" name=\"fk_tu_party_id_tu_party_supporting_document_party_id\" parentColumn=\"id\" childColumn=\"party_id\"/>\r\n   <EntityRelation displayColumns=\"\" child=\"Party_supporting_document\" parent=\"supporting_document\" name=\"fk_tu_supporting_document_id_tu_party_supporting_document_supporting_doc_id\" parentColumn=\"id\" childColumn=\"supporting_doc_id\"/>\r\n   <EntityRelation displayColumns=\"\" child=\"social_tenure_relationship\" parent=\"Payment\" name=\"fk_tu_payment_id_tu_social_tenure_relationship_party_id\" parentColumn=\"id\" childColumn=\"party_id\"/>\r\n  </Relations>\r\n  <SocialTenure layerDisplay=\"tu_vw_social_tenure_relationship\" tenureTypeList=\"check_tenure_type\" spatialUnit=\"Spatial unit\" supportsMultipleParties=\"True\" party=\"Payment\"/>\r\n </Profile>\r\n <Profile description=\"\" name=\"test\">\r\n  <ValueLists>\r\n   <ValueList name=\"check_social_tenure_relationship_document_type\">\r\n    <CodeValue value=\"General\" code=\"\"/>\r\n   </ValueList>\r\n   <ValueList name=\"check_tenure_type\">\r\n    <CodeValue value=\"ownership\" code=\"\"/>\r\n   </ValueList>\r\n  </ValueLists>\r\n  <Entity editable=\"True\" global=\"False\" associative=\"False\" description=\"spunt\" proxy=\"False\" createId=\"True\" supportsDocuments=\"False\" shortName=\"Party\" name=\"te_party\">\r\n   <Columns>\r\n    <Column unique=\"False\" tip=\"\" minimum=\"-2147483648\" maximum=\"2147483647\" description=\"\" index=\"False\" name=\"id\" searchable=\"True\" TYPE_INFO=\"SERIAL\" mandatory=\"False\"/>\r\n   </Columns>\r\n  </Entity>\r\n  <Entity editable=\"True\" global=\"False\" associative=\"False\" description=\"\" proxy=\"False\" createId=\"True\" supportsDocuments=\"False\" shortName=\"Sp\" name=\"te_sp\">\r\n   <Columns>\r\n    <Column unique=\"False\" tip=\"\" minimum=\"-2147483648\" maximum=\"2147483647\" description=\"\" index=\"False\" name=\"id\" searchable=\"True\" TYPE_INFO=\"SERIAL\" mandatory=\"False\"/>\r\n    <Column unique=\"False\" tip=\"\" description=\"\" index=\"False\" name=\"sp\" searchable=\"False\" TYPE_INFO=\"GEOMETRY\" mandatory=\"False\">\r\n     <Geometry layerDisplay=\"\" srid=\"4326\" type=\"0\"/>\r\n    </Column>\r\n   </Columns>\r\n  </Entity>\r\n  <Relations>\r\n   <EntityRelation displayColumns=\"name,code\" child=\"social_tenure_relationship_supporting_document\" parent=\"check_social_tenure_relationship_document_type\" name=\"fk_te_check_social_tenure_relationship_document_type_id_te_social_tenure_relationship_supporting_document_document_type\" parentColumn=\"id\" childColumn=\"document_type\"/>\r\n   <EntityRelation displayColumns=\"\" child=\"social_tenure_relationship_supporting_document\" parent=\"social_tenure_relationship\" name=\"fk_te_social_tenure_relationship_id_te_social_tenure_relationship_supporting_document_social_tenure_relationship_id\" parentColumn=\"id\" childColumn=\"social_tenure_relationship_id\"/>\r\n   <EntityRelation displayColumns=\"\" child=\"social_tenure_relationship_supporting_document\" parent=\"supporting_document\" name=\"fk_te_supporting_document_id_te_social_tenure_relationship_supporting_document_supporting_doc_id\" parentColumn=\"id\" childColumn=\"supporting_doc_id\"/>\r\n   <EntityRelation displayColumns=\"name,code\" child=\"social_tenure_relationship\" parent=\"check_tenure_type\" name=\"fk_te_check_tenure_type_id_te_social_tenure_relationship_tenure_type\" parentColumn=\"id\" childColumn=\"tenure_type\"/>\r\n   <EntityRelation displayColumns=\"\" child=\"social_tenure_relationship\" parent=\"Party\" name=\"fk_te_party_id_te_social_tenure_relationship_party_id\" parentColumn=\"id\" childColumn=\"party_id\"/>\r\n   <EntityRelation displayColumns=\"\" child=\"social_tenure_relationship\" parent=\"Sp\" name=\"fk_te_sp_id_te_social_tenure_relationship_spatial_unit_id\" parentColumn=\"id\" childColumn=\"spatial_unit_id\"/>\r\n  </Relations>\r\n  <SocialTenure layerDisplay=\"te_vw_social_tenure_relationship\" tenureTypeList=\"check_tenure_type\" spatialUnit=\"Sp\" supportsMultipleParties=\"False\" party=\"Party\"/>\r\n </Profile>\r\n</Configuration>\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/gltn/stdm/issues/comments/231575741","html_url":"https://github.com/gltn/stdm/issues/106#issuecomment-231575741","issue_url":"https://api.github.com/repos/gltn/stdm/issues/106","id":231575741,"user":{"login":"gkahiu","id":3840267,"avatar_url":"https://avatars.githubusercontent.com/u/3840267?v=3","gravatar_id":"","url":"https://api.github.com/users/gkahiu","html_url":"https://github.com/gkahiu","followers_url":"https://api.github.com/users/gkahiu/followers","following_url":"https://api.github.com/users/gkahiu/following{/other_user}","gists_url":"https://api.github.com/users/gkahiu/gists{/gist_id}","starred_url":"https://api.github.com/users/gkahiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkahiu/subscriptions","organizations_url":"https://api.github.com/users/gkahiu/orgs","repos_url":"https://api.github.com/users/gkahiu/repos","events_url":"https://api.github.com/users/gkahiu/events{/privacy}","received_events_url":"https://api.github.com/users/gkahiu/received_events","type":"User","site_admin":false},"created_at":"2016-07-10T07:46:18Z","updated_at":"2016-07-10T07:46:18Z","body":"Dear Wondie,\n\nThis might be related to the how entity are created and edited in the\nwizard, might be related to the hanging issue when enabling supporting\ndocuments.\n\nDear Paul,\n\nPlease review the logic for managing the creation and editing of entities.\nLet me know if you need us to discuss further.\n\nRegards,\n\nJohn\n\nOn Sat, Jul 9, 2016 at 3:17 PM, wondie <notifications@github.com> wrote:\n\n> QGIS crash when creating table with the attached configuration. The\n> exception information is: The thread tried to read from or write to a\n> virtual address for which it doesn’t have appropriate access. This happens\n> after the wizard is finished and closed. see the attached file dump file\n> and the image below.\n>\n> [image: image]\n> <https://cloud.githubusercontent.com/assets/9709624/16707883/daa6c5da-45e7-11e6-83dc-1cc96e8f05b3.png>\n>\n> At the end of the above wizard, when checked the party entity for which I\n> enabled supporting documents for, all its columns are removed from its\n> configuration.stc and the newly created database.\n>\n> Below is the affected configuration.\n>\n>\n> <Configuration version=\"1.2\">\n>  <Profile description=\"\" name=\"turkana\">\n>   <ValueLists>\n>    <ValueList name=\"check_social_tenure_relationship_document_type\">\n>     <CodeValue value=\"General\" code=\"\"/>\n>     <CodeValue value=\"Title\" code=\"\"/>\n>    </ValueList>\n>    <ValueList name=\"check_tenure_type\">\n>     <CodeValue value=\"ownership\" code=\"OWN\"/>\n>     <CodeValue value=\"lease\" code=\"LEA\"/>\n>    </ValueList>\n>    <ValueList name=\"check_document_type\">\n>     <CodeValue value=\"Title\" code=\"T\"/>\n>     <CodeValue value=\"Leashold\" code=\"LEA\"/>\n>    </ValueList>\n>    <ValueList name=\"check_gender\">\n>     <CodeValue value=\"Male\" code=\"M\"/>\n>     <CodeValue value=\"Female\" code=\"F\"/>\n>    </ValueList>\n>    <ValueList name=\"check_spatial_unit_document_type\">\n>     <CodeValue value=\"General\" code=\"\"/>\n>     <CodeValue value=\"Leease\" code=\"\"/>\n>    </ValueList>\n>    <ValueList name=\"check_party_document_type\">\n>     <CodeValue value=\"General\" code=\"\"/>\n>    </ValueList>\n>   </ValueLists>\n>   <Entity editable=\"True\" global=\"False\" associative=\"False\" description=\"\" documentTypeLookup=\"check_spatial_unit_document_type\" proxy=\"False\" createId=\"True\" supportsDocuments=\"True\" shortName=\"Spatial unit\" name=\"tu_spatial_unit\">\n>    <Columns>\n>     <Column unique=\"False\" tip=\"\" minimum=\"-2147483648\" maximum=\"2147483647\" description=\"\" index=\"False\" name=\"id\" searchable=\"True\" TYPE_INFO=\"SERIAL\" mandatory=\"False\"/>\n>     <Column unique=\"False\" tip=\"\" minimum=\"0\" maximum=\"30\" description=\"\" index=\"False\" name=\"code\" searchable=\"True\" TYPE_INFO=\"VARCHAR\" mandatory=\"False\"/>\n>     <Column unique=\"False\" tip=\"\" description=\"\" index=\"False\" name=\"polygon\" searchable=\"False\" TYPE_INFO=\"GEOMETRY\" mandatory=\"False\">\n>      <Geometry layerDisplay=\"\" srid=\"4326\" type=\"2\"/>\n>     </Column>\n>     <Column unique=\"False\" tip=\"\" minimum=\"0.0\" maximum=\"1.79769313486e+308\" description=\"\" index=\"False\" name=\"area\" searchable=\"True\" TYPE_INFO=\"DOUBLE\" mandatory=\"False\"/>\n>     <Column unique=\"False\" tip=\"\" minimum=\"0\" maximum=\"2147483647\" description=\"\" index=\"False\" name=\"admin_spatial_unit\" searchable=\"True\" TYPE_INFO=\"ADMIN_SPATIAL_UNIT\" mandatory=\"False\">\n>      <Relation name=\"fk_admin_spatial_unit_set_id_tu_spatial_unit_admin_spatial_unit\"/>\n>     </Column>\n>     <Column unique=\"False\" tip=\"\" minimum=\"0\" maximum=\"2147483647\" description=\"\" index=\"False\" name=\"tenure_type\" searchable=\"True\" TYPE_INFO=\"LOOKUP\" mandatory=\"False\">\n>      <Relation name=\"fk_tu_check_tenure_type_id_tu_spatial_unit_tenure_type\"/>\n>     </Column>\n>     <Column unique=\"False\" tip=\"\" minimum=\"0\" maximum=\"2147483647\" description=\"\" index=\"False\" name=\"related_entity\" searchable=\"False\" TYPE_INFO=\"FOREIGN_KEY\" mandatory=\"False\">\n>      <Relation name=\"fk_tu_party_id_tu_spatial_unit_related_entity\"/>\n>     </Column>\n>     <Column unique=\"False\" tip=\"\" minimum=\"0\" maximum=\"1073741823\" description=\"\" index=\"False\" name=\"unlimited\" searchable=\"False\" TYPE_INFO=\"TEXT\" mandatory=\"False\"/>\n>     <Column unique=\"False\" tip=\"\" minimum=\"1753-09-21\" maximum=\"7999-12-31\" description=\"\" index=\"False\" name=\"date_of_allocation\" searchable=\"False\" TYPE_INFO=\"DATE\" mandatory=\"False\">\n>      <currentDate minimum=\"False\" maximum=\"True\"/>\n>     </Column>\n>    </Columns>\n>   </Entity>\n>   <Entity editable=\"True\" global=\"False\" associative=\"False\" description=\"\" proxy=\"False\" createId=\"True\" supportsDocuments=\"False\" shortName=\"Payment\" name=\"tu_payment\">\n>    <Columns>\n>     <Column unique=\"False\" tip=\"\" minimum=\"-2147483648\" maximum=\"2147483647\" description=\"\" index=\"False\" name=\"id\" searchable=\"True\" TYPE_INFO=\"SERIAL\" mandatory=\"False\"/>\n>     <Column unique=\"False\" tip=\"\" minimum=\"0\" maximum=\"30\" description=\"\" index=\"False\" name=\"pay\" searchable=\"True\" TYPE_INFO=\"VARCHAR\" mandatory=\"False\"/>\n>     <Column unique=\"False\" tip=\"person paying it.\" minimum=\"0\" maximum=\"2147483647\" description=\"person paying it.\" index=\"False\" name=\"person\" searchable=\"False\" TYPE_INFO=\"FOREIGN_KEY\" mandatory=\"False\">\n>      <Relation name=\"fk_tu_party_id_tu_payment_person\"/>\n>     </Column>\n>    </Columns>\n>   </Entity>\n>   <Entity editable=\"True\" global=\"False\" associative=\"False\" description=\"\" documentTypeLookup=\"check_party_document_type\" proxy=\"False\" createId=\"True\" supportsDocuments=\"True\" shortName=\"Party\" name=\"tu_party\">\n>    <Columns>\n>     <Column unique=\"False\" tip=\"\" minimum=\"-2147483648\" maximum=\"2147483647\" description=\"\" index=\"False\" name=\"id\" searchable=\"True\" TYPE_INFO=\"SERIAL\" mandatory=\"False\"/>\n>    </Columns>\n>   </Entity>\n>   <Relations>\n>    <EntityRelation displayColumns=\"name,code\" child=\"social_tenure_relationship_supporting_document\" parent=\"check_social_tenure_relationship_document_type\" name=\"fk_tu_check_social_tenure_relationship_document_type_id_tu_social_tenure_relationship_supporting_document_document_type\" parentColumn=\"id\" childColumn=\"document_type\"/>\n>    <EntityRelation displayColumns=\"\" child=\"social_tenure_relationship_supporting_document\" parent=\"social_tenure_relationship\" name=\"fk_tu_social_tenure_relationship_id_tu_social_tenure_relationship_supporting_document_social_tenure_relationship_id\" parentColumn=\"id\" childColumn=\"social_tenure_relationship_id\"/>\n>    <EntityRelation displayColumns=\"\" child=\"social_tenure_relationship_supporting_document\" parent=\"supporting_document\" name=\"fk_tu_supporting_document_id_tu_social_tenure_relationship_supporting_document_supporting_doc_id\" parentColumn=\"id\" childColumn=\"supporting_doc_id\"/>\n>    <EntityRelation displayColumns=\"name,code\" child=\"social_tenure_relationship\" parent=\"check_tenure_type\" name=\"fk_tu_check_tenure_type_id_tu_social_tenure_relationship_tenure_type\" parentColumn=\"id\" childColumn=\"tenure_type\"/>\n>    <EntityRelation displayColumns=\"name,code\" child=\"Party\" parent=\"check_gender\" name=\"fk_tu_check_gender_id_tu_party_gender\" parentColumn=\"id\" childColumn=\"gender\"/>\n>    <EntityRelation displayColumns=\"name,code\" child=\"Party\" parent=\"admin_spatial_unit_set\" name=\"fk_admin_spatial_unit_set_id_tu_party_admin_spatial_unit\" parentColumn=\"id\" childColumn=\"admin_spatial_unit\"/>\n>    <EntityRelation displayColumns=\"name,code\" child=\"Spatial unit_supporting_document\" parent=\"check_spatial_unit_document_type\" name=\"fk_tu_check_spatial_unit_document_type_id_tu_spatial_unit_supporting_document_document_type\" parentColumn=\"id\" childColumn=\"document_type\"/>\n>    <EntityRelation displayColumns=\"\" child=\"Spatial unit_supporting_document\" parent=\"Spatial unit\" name=\"fk_tu_spatial_unit_id_tu_spatial_unit_supporting_document_spatial_unit_id\" parentColumn=\"id\" childColumn=\"spatial_unit_id\"/>\n>    <EntityRelation displayColumns=\"\" child=\"Spatial unit_supporting_document\" parent=\"supporting_document\" name=\"fk_tu_supporting_document_id_tu_spatial_unit_supporting_document_supporting_doc_id\" parentColumn=\"id\" childColumn=\"supporting_doc_id\"/>\n>    <EntityRelation displayColumns=\"name,code\" child=\"Spatial unit\" parent=\"admin_spatial_unit_set\" name=\"fk_admin_spatial_unit_set_id_tu_spatial_unit_admin_spatial_unit\" parentColumn=\"id\" childColumn=\"admin_spatial_unit\"/>\n>    <EntityRelation displayColumns=\"name,code\" child=\"Spatial unit\" parent=\"check_tenure_type\" name=\"fk_tu_check_tenure_type_id_tu_spatial_unit_tenure_type\" parentColumn=\"id\" childColumn=\"tenure_type\"/>\n>    <EntityRelation displayColumns=\"name\" child=\"Spatial unit\" parent=\"Party\" name=\"fk_tu_party_id_tu_spatial_unit_related_entity\" parentColumn=\"id\" childColumn=\"related_entity\"/>\n>    <EntityRelation displayColumns=\"name\" child=\"Payment\" parent=\"Party\" name=\"fk_tu_party_id_tu_payment_person\" parentColumn=\"id\" childColumn=\"person\"/>\n>    <EntityRelation displayColumns=\"\" child=\"social_tenure_relationship\" parent=\"Payment\" name=\"fk_tu_payment_id_tu_social_tenure_relationship_party_id\" parentColumn=\"id\" childColumn=\"party_id\"/>\n>    <EntityRelation displayColumns=\"\" child=\"social_tenure_relationship\" parent=\"Spatial unit\" name=\"fk_tu_spatial_unit_id_tu_social_tenure_relationship_spatial_unit_id\" parentColumn=\"id\" childColumn=\"spatial_unit_id\"/>\n>    <EntityRelation displayColumns=\"name,code\" child=\"Party_supporting_document\" parent=\"check_party_document_type\" name=\"fk_tu_check_party_document_type_id_tu_party_supporting_document_document_type\" parentColumn=\"id\" childColumn=\"document_type\"/>\n>    <EntityRelation displayColumns=\"\" child=\"Party_supporting_document\" parent=\"Party\" name=\"fk_tu_party_id_tu_party_supporting_document_party_id\" parentColumn=\"id\" childColumn=\"party_id\"/>\n>    <EntityRelation displayColumns=\"\" child=\"Party_supporting_document\" parent=\"supporting_document\" name=\"fk_tu_supporting_document_id_tu_party_supporting_document_supporting_doc_id\" parentColumn=\"id\" childColumn=\"supporting_doc_id\"/>\n>    <EntityRelation displayColumns=\"\" child=\"social_tenure_relationship\" parent=\"Payment\" name=\"fk_tu_payment_id_tu_social_tenure_relationship_party_id\" parentColumn=\"id\" childColumn=\"party_id\"/>\n>   </Relations>\n>   <SocialTenure layerDisplay=\"tu_vw_social_tenure_relationship\" tenureTypeList=\"check_tenure_type\" spatialUnit=\"Spatial unit\" supportsMultipleParties=\"True\" party=\"Payment\"/>\n>  </Profile>\n>  <Profile description=\"\" name=\"test\">\n>   <ValueLists>\n>    <ValueList name=\"check_social_tenure_relationship_document_type\">\n>     <CodeValue value=\"General\" code=\"\"/>\n>    </ValueList>\n>    <ValueList name=\"check_tenure_type\">\n>     <CodeValue value=\"ownership\" code=\"\"/>\n>    </ValueList>\n>   </ValueLists>\n>   <Entity editable=\"True\" global=\"False\" associative=\"False\" description=\"spunt\" proxy=\"False\" createId=\"True\" supportsDocuments=\"False\" shortName=\"Party\" name=\"te_party\">\n>    <Columns>\n>     <Column unique=\"False\" tip=\"\" minimum=\"-2147483648\" maximum=\"2147483647\" description=\"\" index=\"False\" name=\"id\" searchable=\"True\" TYPE_INFO=\"SERIAL\" mandatory=\"False\"/>\n>    </Columns>\n>   </Entity>\n>   <Entity editable=\"True\" global=\"False\" associative=\"False\" description=\"\" proxy=\"False\" createId=\"True\" supportsDocuments=\"False\" shortName=\"Sp\" name=\"te_sp\">\n>    <Columns>\n>     <Column unique=\"False\" tip=\"\" minimum=\"-2147483648\" maximum=\"2147483647\" description=\"\" index=\"False\" name=\"id\" searchable=\"True\" TYPE_INFO=\"SERIAL\" mandatory=\"False\"/>\n>     <Column unique=\"False\" tip=\"\" description=\"\" index=\"False\" name=\"sp\" searchable=\"False\" TYPE_INFO=\"GEOMETRY\" mandatory=\"False\">\n>      <Geometry layerDisplay=\"\" srid=\"4326\" type=\"0\"/>\n>     </Column>\n>    </Columns>\n>   </Entity>\n>   <Relations>\n>    <EntityRelation displayColumns=\"name,code\" child=\"social_tenure_relationship_supporting_document\" parent=\"check_social_tenure_relationship_document_type\" name=\"fk_te_check_social_tenure_relationship_document_type_id_te_social_tenure_relationship_supporting_document_document_type\" parentColumn=\"id\" childColumn=\"document_type\"/>\n>    <EntityRelation displayColumns=\"\" child=\"social_tenure_relationship_supporting_document\" parent=\"social_tenure_relationship\" name=\"fk_te_social_tenure_relationship_id_te_social_tenure_relationship_supporting_document_social_tenure_relationship_id\" parentColumn=\"id\" childColumn=\"social_tenure_relationship_id\"/>\n>    <EntityRelation displayColumns=\"\" child=\"social_tenure_relationship_supporting_document\" parent=\"supporting_document\" name=\"fk_te_supporting_document_id_te_social_tenure_relationship_supporting_document_supporting_doc_id\" parentColumn=\"id\" childColumn=\"supporting_doc_id\"/>\n>    <EntityRelation displayColumns=\"name,code\" child=\"social_tenure_relationship\" parent=\"check_tenure_type\" name=\"fk_te_check_tenure_type_id_te_social_tenure_relationship_tenure_type\" parentColumn=\"id\" childColumn=\"tenure_type\"/>\n>    <EntityRelation displayColumns=\"\" child=\"social_tenure_relationship\" parent=\"Party\" name=\"fk_te_party_id_te_social_tenure_relationship_party_id\" parentColumn=\"id\" childColumn=\"party_id\"/>\n>    <EntityRelation displayColumns=\"\" child=\"social_tenure_relationship\" parent=\"Sp\" name=\"fk_te_sp_id_te_social_tenure_relationship_spatial_unit_id\" parentColumn=\"id\" childColumn=\"spatial_unit_id\"/>\n>   </Relations>\n>   <SocialTenure layerDisplay=\"te_vw_social_tenure_relationship\" tenureTypeList=\"check_tenure_type\" spatialUnit=\"Sp\" supportsMultipleParties=\"False\" party=\"Party\"/>\n>  </Profile>\n> </Configuration>\n>\n>\n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/gltn/stdm/issues/106>, or mute the thread\n> <https://github.com/notifications/unsubscribe/ADqZCxuokHoQ4-Vtmtb0zRyNoX42XjqGks5qT5FigaJpZM4JIm5B>\n> .\n>\n"}}
{"actor":{"display_login":"gkahiu"}}