bcgov / parks-data-register

Apache License 2.0
6 stars 4 forks source link

DR-> Missing ID of some parks on Protected Areas page #354

Open manuji opened 9 months ago

manuji commented 9 months ago

Scenario:

Issue:

https://github.com/bcgov/parks-data-register/assets/65190263/409ef345-8674-411e-a348-8623c4f747f8

JLWade commented 9 months ago

thats an odd one - adding to current sprint

cameronpettit commented 9 months ago

@JLWade @manuji I can confirm that the databases in TEST and PROD are both correct for Ellison Park and Banana Island Park. My guess is that when the migration occurred that added in the displayId, these two parks ran into an issue when OpenSearch got updated. The simple fix is going into the park and making a minor edit, which triggers a new OS update. In PROD I made minor updates and then undid them - this fixed the issue without creating unnecessary changelog items.

I'm not aware of a readily available way to search through all the records in OpenSearch and find ones where displayId is missing. Unless @marklise has any other suggestions, it might be just as easy to fix these issue as they appear with the method mentioned above.

The odd thing is that in the case of Ellison Park, both PROD and TEST were affected (Banana Island Park was only wrong in PROD). It makes me wonder if there was something specific about Ellison Park that caused problems during the migration.

In any case, Ellison Park and Banana Island Park now show displayId in PROD.

manuji commented 9 months ago

I notice a few more parks with missing IDs on PROD. If @JLWade permit me to do a minor edit on those I can fix them manually.

Eg: 0421 Klin-Se-Za Park

JLWade commented 9 months ago

go for it - thanks Manuji!

manuji commented 9 months ago

The following parks were updated (Minor edit) with the search term "park" to fix the missing ParkID issue.

  1. French Bar Creek Park
  2. Klin-Se-Za Park
  3. Chase Park
  4. Porteau Cove Park
  5. Nickel Plate Park
  6. Morice Lake Park

FYI @JLWade