godotengine / godot-asset-library

PHP frontend for Godot Engine's asset library
https://godotengine.org/asset-library
MIT License
292 stars 94 forks source link

Cant edit existing assets #291

Open Trey2k opened 1 year ago

Trey2k commented 1 year ago

While trying to modify one my LuaAPI assets for an update I am getting the this: image

No errors to report in the JS console.

Submitting new assets works as expected.

YuriSizov commented 1 year ago

There seems to be an error related to the length of the version string that you've submitted. I've relaxed the limit a bit, so you can try again. But out of curiosity, what were you trying to input there as the version string of your asset?

Trey2k commented 1 year ago

There seems to be an error related to the length of the version string that you've submitted. I've relaxed the limit a bit, so you can try again. But out of curiosity, what were you trying to input there as the version string of your asset?

I was only trying to input v2.0.1-stable as the version string.

YuriSizov commented 1 year ago

Did you copy it from somewhere? Perhaps there were invisible characters.

Trey2k commented 1 year ago

Did you copy it from somewhere? Perhaps there were invisible characters.

No, I just added the .1 by hand oddly enough. I also kept the tabs open with the same changes that got rejected before and they go through now.

YuriSizov commented 1 year ago

Well, I guess you did indeed genuinely hit the character limit of one of the database tables :) We'll try to make some adjustments to the form to make sure it doesn't allow anyone to input more than can be stored.

Trey2k commented 1 year ago

Well, I guess you did indeed genuinely hit the character limit of one of the database tables

What is the limit? If you know that is

YuriSizov commented 1 year ago

One of the tables was out of sync, don't remember what it was.

Now versions are limited to 20 characters, titles to 255, all URL/link fields to 1024. With support for unicode (non-latin) characters.