linz / QGIS-AIMS-Plugin

QGIS Plugin for managing LINZ address information
BSD 3-Clause "New" or "Revised" License
3 stars 4 forks source link

Meshblock Override Disappearing from Edit Feature Form #182

Closed Deb-Jones closed 8 years ago

Deb-Jones commented 8 years ago

Actions: Add an address with a meshblock override. Accept. Move the address. Accept. (note, the meshblock override is visible on the review form) Edit the address.

At this point the meshblock override is not visible on the edit feature form.

I will need to do more analysis to narrow down the issue.

billgeo commented 8 years ago

TWG: please diagnose and fix if it's a UI issue, if it's a API/DB issue please transfer this to the AIMS repo and leave unassigned.

SPlanzer commented 8 years ago

This was an issue where the derived isMeshblockOverride flag is not returned in the json object that is part of the response to an accept. If a user selected an obj derived from the response that had just had the meshblock overridden and then passed this obj back to the API the meshblock override would be lost.

This has been solved by setting the flag in the python object if a meshblock is returned (which in response to an accept is only for meshblock overrides)

@Deb-Jones - Please retest, expect a release this evening.

SPlanzer commented 8 years ago

note; a related API issue has been created 212

Deb-Jones commented 7 years ago

Tested. Acceptable.