-
Notifications
You must be signed in to change notification settings - Fork 4
[PROD] The id for admin2 from vectortile layers does not match. #2905
Comments
cc @geohacker - I think if you, me, @szabozoltan69 and @tnagorra look at this together, you'll be able to guide on the best solution here. |
@szabozoltan69 @tnagorra possible for you to give me one example admin2 so i can verify on the tiles? |
Here, on staging there are some examples: E.g. |
Thank you @szabozoltan69. So in the tiles we have the following for the Homs - Ar-Rastan example you shared above. The thing that's missing here is the |
@szabozoltan69 The ids on production and stating is the same right now because we are using the clone of production database on the staging as well (for the rewrite) @geohacker Also, there are only 1035 admin2 rows in the Go backend.
|
Yes. A question: is it good to do changes in develop, or would it be better in web-rewrite? (The failure of snap tests make this question interesting: should we follow both snapshots, in develop with old structures... and at develop<-web-rewrite merge time with conflicts?) |
@szabozoltan69 This should not be a major change on the frontend so we can either do the change on go-frontend (develop) or go-web-app. |
@tnagorra It's recently a backend change of geohacker, so (at least the backend part) it would be fine to do in web-rewrite to be able to test it on Staging. |
@szabozoltan69 @geohacker Can you fill me in the details of how the admin1 and admin2 layers are kept in sync with the GO database? |
There is a backend job (see the above change) which sends data from GO database to MapBox and creates layers there. From that data sending an id (code) was missing, that causes the trouble. We have to rerun this repared job to fix the missing "code" id. At first on Staging, then, if works, on Prod. |
Thanks @szabozoltan69 for the clarification. Please let me know once the fix has been deployed to staging so that I can also confirm the changes. |
The fix is deployed to Staging, but we still need to run the job to create new entities in MapBox. |
This issue could be tested on Staging, it should be fixed. All the admin2 areas were renewed via the new map-tiling job. |
Thank you @szabozoltan69. I can't think of anything else! |
@szabozoltan69 Looks like the issue has been fixed on the staging server. Just created a 3W Project with admin 2 on Afghanistan.
|
Dear @tnagorra, you're right that the Admin2-s are visible only on edit page. :-( |
@szabozoltan69 @tnagorra is there still work required under this issue or can it be closed? Thanks |
(bump) |
Issue
The id for admin2 from vectortile layers does not match the id for admin2 from the server database.
Steps to reproduce
Expected behaviour
User should be able to save the form.
Impact
This should affect all the users trying to submit 3W Project Form with admin2 information.
Is there a workaround?
There are not workarounds.
The text was updated successfully, but these errors were encountered: