bcgov / bcgov/bcfms

Import of geometry with non uuid feature IDs causes geom refresh to fail

Open
#218 0 comments 0 reactions 2 assignees Claimed by @leapyle View on GitHub
bug
Dominant language
Python
Stars
1
Forks
2
PR merge metrics
No merged PRs in 30d

Description

**To Reproduce**
Steps to reproduce the behavior:
1. While deploying 1.3.1 into TEST, the migration failed due to the refresh_geometries() call faliing. It was caused by a series of Features with IDs like `ID_00001`. This was fixed in TEST, however this will be an issue in PROD as well.

The larger issue is that feature IDs like those should not be allowed to be imported into the application. This is likely an Arches Core issue, however need to confirm how LP imported them (what file type (Shapefile, KML, etc).

The offending record was an IPA that had a resourceid of `3af65ecd-fb01-4c23-abbc-61dd6b4d0078` that was created on July 17th

**Actual Behavior**
A clear and concise description of what actually happened.

**Expected Behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**
Add any other context about the problem here.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.