avniproject / avni-server

Backend APIs for Avni
https://avniproject.org
GNU Affero General Public License v3.0
7 stars 25 forks source link

Bundle upload issues #770

Closed 1t5j0y closed 3 months ago

1t5j0y commented 3 months ago

Env: Staging Bundle source Org: APF Uploaded bundle to: apf2 Attempt1: Bundle, Error Attempt2: Bundle, Error

Issues:

  1. Attempt1 error file has several errors around transactions
  2. Attempt2 error file has 2 errors
    • locations.json - "Location with same name... exists" but no conflicting location exists in apf2 in the db. The exported bundle has a conflicting location with the same name/level.
    • catchments.json "AddressLevel with uuid not found" but addresslevel exists in locations.json. The addresslevel uuid is different from the one that failed in the previous error.
  3. After attempt1/attempt2 none of the locations or catchments in the bundle were available in apf2.
AchalaBelokar commented 3 months ago