DiscipleTools / DiscipleTools/disciple-tools-theme

Locations changing on Mapbox activation/deactivation

Open
#1,802 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
48
Forks
66
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
Locations change when activating/deactivating the Mapbox feature

**To Reproduce**
Steps to reproduce the behavior:
1. Add a country level location to a contact
2. Activate or Deactivate the Mapbox API key ( WP Admin > Mapping > Geocoding tab )
3. Refresh contact
4. Location has changed

**Expected behavior**
Location should stay the same

**Additional context**
It appears that there are two types of fields for Mapbox location and regular location. These fields should be mirroring each other.

Similar behavior that could add more context:
- Add "Chicago" to Location
- Activate/Deactivate Mapbox API
- Change location to "New York City"
- Re-activate/Re-deactivate Mapbox API
- Location says "Chicago" again

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.