godot-asset-library icon indicating copy to clipboard operation
godot-asset-library copied to clipboard

Cant edit existing assets

Open Trey2k opened this issue 1 year ago • 7 comments

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.

Trey2k avatar Jul 06 '23 18:07 Trey2k

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?

YuriSizov avatar Jul 06 '23 19:07 YuriSizov

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.

Trey2k avatar Jul 06 '23 19:07 Trey2k

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

YuriSizov avatar Jul 06 '23 19:07 YuriSizov

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.

Trey2k avatar Jul 06 '23 19:07 Trey2k

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.

YuriSizov avatar Jul 06 '23 19:07 YuriSizov

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

Trey2k avatar Jul 06 '23 20:07 Trey2k

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.

YuriSizov avatar Jul 06 '23 20:07 YuriSizov