coderedcorp / coderedcorp/coderedcms

Structured Data Error using Geographic coordinates

Open
#326 5 comments 0 reactions 0 assignees View on GitHub
Type: Bug
Dominant language
Python
Stars
765
Forks
154
PR merge metrics
No merged PRs in 30d

Description

#### Describe the bug
There seems to be a problem with Json output using coordinates. The coordinates are added to the structured data, but I think that the comma breaks the JSON output.

#### Steps to reproduce
Steps to reproduce the behavior:
1. Go to SEO tab in page.
2. Enter geographic coordinates under STRUCTURED DATA - ORGANIZATION

#### Expected behavior
When I enter coordinate like 15.43929432, it is saved as 15,43929432. Shouldn't it keep a decimal format using "." ?

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue from the page SEO tab by entering a geographic coordinate under Structured Data - Organization. Trace how that value is serialized into the JSON output, then verify that the output remains valid JSON and preserves the decimal point in the coordinate.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.