-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Component/s: Card - Card Back
-
None
-
1
-
Severity 3 - Minor
Issue Summary
When adding a location to a card via API, if only coordinates are supplied, the location section no longer displays when that card is viewed on the card back. It seems that in the legacy card back, this functionality was supported and rather than the address in the location name field as a placeholder, the card back would display the coordinates.
However, in the modernized card back, the location section simply no longer displays despite there being a pin on the front of the card to indicate that a location has been set and the coordinates showing in the JSON export of the card back. The card also shows on the map view for the board.
Steps to Reproduce
- Update a card that previously did not have a location attached via API request to /1/cards/<id> and send only the coordinates parameter (sample request URL: https://api.trello.com/1/cards/<card-id>?key=APIKey&token=Token&coordinates=40.7825547,-73.9655834)
- View that card in the UI
Expected Results
The Location section displays on the card back as it did in the legacy stack.
Actual Results
The card front will have a pin indicating a location has been set, but there will be no Location section on the card back despite the coordinates being in the JSON export and the card also showing on the map view for the board.
Workaround
If address is used when setting locations via API, the Location section on the card back displays properly. However, this will obviously not work if there is a location that only has coordinates with no address that Google Maps can utilize for display.