Azgaar / Armoria

Heraldry generator and editor
https://azgaar.github.io/Armoria
280 stars 30 forks source link

Error after changing name when uploading a vector charge #58

Closed latiif closed 3 years ago

latiif commented 3 years ago

Description

When trying to upload a Vector Charge, you get a pop-up after having selected an svg file.

If you change the default name of the vector resource and press Upload, you get a Name must be unique Id! error message.

This is clearly a bug, as this is the frist time you're uploading the vector file.

If this is an issue (and not a fluke on my part), I'd love to help out with it.

Steps to reproduce

  1. Go to the website: Armoria.
  2. Click Upload -> Vector Charge -> browse -> Select an SVG file.
  3. Change the name field to anything random: averyuniquename for example.
  4. Click Upload.
  5. Get the error message: Name must be unique Id!.
github-actions[bot] commented 3 years ago

Hello, fellow tester! Thanks for raising the issue, I will review it as soon as possible.

Azgaar commented 3 years ago

Agree, that's clearly a bug. The good thing is that's easy to fix and I'm already working on it :)

Azgaar commented 3 years ago

Fixed, please check now (cache clean up may be required)