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

Cant edit existing assets #291

Open
Trey2k opened this issue Jul 6, 2023 · 7 comments
Open

Cant edit existing assets #291

Trey2k opened this issue Jul 6, 2023 · 7 comments

Comments

@Trey2k
Copy link

Trey2k commented Jul 6, 2023

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
Copy link
Contributor

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
Copy link
Author

Trey2k commented Jul 6, 2023

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
Copy link
Contributor

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

@Trey2k
Copy link
Author

Trey2k commented Jul 6, 2023

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
Copy link
Contributor

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
Copy link
Author

Trey2k commented Jul 6, 2023

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
Copy link
Contributor

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.

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

No branches or pull requests

2 participants