Increase max length for string fields to 512 characters in schema#3
Open
ashu82492 wants to merge 2 commits intoappform-io:masterfrom
Open
Increase max length for string fields to 512 characters in schema#3ashu82492 wants to merge 2 commits intoappform-io:masterfrom
ashu82492 wants to merge 2 commits intoappform-io:masterfrom
Conversation
tusharmndr
reviewed
Feb 16, 2026
| @FormParam("fieldDescription") @Length(max = 255) final String fieldDescription, | ||
| @FormParam("fieldType") @NotNull final FieldType fieldType, | ||
| @FormParam("fieldStringMaxLength") @Min(1) @Max(255) final int fieldStringMaxLength, | ||
| @FormParam("fieldStringMaxLength") @Min(1) @Max(512) final int fieldStringMaxLength, |
Contributor
There was a problem hiding this comment.
Move to constant example Constant.MAX_SCHEMA_ID_LENGTH,
Also in StoredEntity ?
Author
There was a problem hiding this comment.
- Moved to a new constant MAX_STRING_FIELD_VALUE_LENGTH.
- StoredEntity max field length was already set to 512, replaced with the new constant.
4c413ea to
859d1a8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Increase max length for string fields to 512 characters in schema
Description
This change increases the maximum allowed length for string fields in the schema from 255 to 512 characters on the web console.
Changes Made
Updated validation constraints in
Manage.java@Max(255)to@Max(512)forfieldStringMaxLengthparameter in the field creation endpoint (line 164)@Max(255)to@Max(512)forfieldStringMaxLengthparameter in the field update endpoint (line 228)Updated UI range slider in
schema-details.hbsmaxattribute from255to512for the Max Length field (line 153)Note
DB schema sql has length specified to 512 already so no alter required in the db schema.
Motivation
Increases flexibility in schema design for applications requiring longer string field values e.g. URLs.