Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MapBox Studio fails to complain about "invalid" SVGs #13331

Open
mryellow opened this issue Nov 22, 2024 · 0 comments
Open

MapBox Studio fails to complain about "invalid" SVGs #13331

mryellow opened this issue Nov 22, 2024 · 0 comments

Comments

@mryellow
Copy link

Steps to Trigger Behavior

  1. Upload an SVG containing style or other "invalid" markup to MapBox Studio

Expected Behavior

  1. Upload an SVG containing style or other "invalid" markup to MapBox Studio
  2. Display an error informing the user that this image will not be usable
  3. Observe the image not displaying within the MapBox Studio list

Actual Behavior

  1. Upload an SVG containing style or other "invalid" markup to MapBox Studio
  2. Observe no errors
  3. Observe no problems displaying within MapBox Studio
  4. Observe not included in https://api.mapbox.com/styles/v1/{username}/{styleid}

No indication is given that there may have been a problem with this upload, leading to wasted time debugging endpoints, re-punishing, clearing caches and the like before realising it's that the SVG isn't supported and no errors have been thrown to indicate this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant