DiscipleTools / DiscipleTools/disciple-tools-theme
Locations changing on Mapbox activation/deactivation
- 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
Assessment
This issue has not been assessed yet.