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
Relation_type field too small #26605
Comments
At least in Postgres, it's best to just make this https://www.postgresql.org/docs/current/datatype-character.html
|
Content was created successfully, tested using a fresh install and also an upgrade. |
Approved: Tested on master_8aae521, Docker, macOS 13.0, FF v121.0.1 |
Parent Issue
No response
Problem Statement
When creating a content type and a relationship field whose names are more than 35 chars, when trying to relate some content it fails.
This is due the
relation_type
field is populated byparentContentTypeVelocityName.fieldVelocityName
.Steps to Reproduce
1- Create a Content-Type with the name
AccountPageManageElection
2- Add a relationship field named
withdrawalConfirmationDialogOnlyEnrolledInFuture
to any other content type.3- Try to create a contentlet.
Acceptance Criteria
Content Should be created successfully.
Let's create a UT that increases the varchar of the
relation_type
to 255.dotCMS Version
23.01 +, and demo(23.10)
Proposed Objective
Customer Support
Proposed Priority
Priority 2 - Important
External Links... Slack Conversations, Support Tickets, Figma Designs, etc.
https://dotcms.zendesk.com/agent/tickets/113860
Assumptions & Initiation Needs
No response
Quality Assurance Notes & Workarounds
No response
Sub-Tasks & Estimates
No response
The text was updated successfully, but these errors were encountered: