Skip to content

User environment variable name/value length validation missing #8045

Closed
@randomir

Description

@randomir

Bug description

Variable name can not be longer than 255 chars, but the error is never displayed to the user (if console output is not counted).

Similarly for the value (but different limit, 64k).

Steps to reproduce

Try creating a variable with name longer than 255 chars.

After clicking "Add Variable", the dialog will close, but variable will not be added. No indication of an error will be visible in the UI.

Instead, an error message is printed in the dev console:
image

Workspace affected

No response

Expected behavior

Variable name length validation is expected on "Add Variable" action, together with charset check, in the validate function.

Example repository

No response

Anything else?

No response

Metadata

Metadata

Assignees

Labels

team: webappIssue belongs to the WebApp teamtype: bugSomething isn't working

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions