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

Limit Variant Name at API Level #25340

Open
Tracked by #27892
bryanboza opened this issue Jun 23, 2023 · 1 comment
Open
Tracked by #27892

Limit Variant Name at API Level #25340

bryanboza opened this issue Jun 23, 2023 · 1 comment

Comments

@bryanboza
Copy link
Member

bryanboza commented Jun 23, 2023

Parent Issue

#24940

Problem Statement

Currently in dotCMS, there are no limitations on the length or character types used in experiment variant names when creating them via API. The limitation is 255 characters, wich is inconsistent what we have at UI level according the parent issue.

image

Steps to Reproduce

  • Create experiments via API using long or invalid variant names
  • Attempt to use these long or invalid variant names in dotCMS
  • Note the usability issues caused by these variant names

Acceptance Criteria

  • Limitations are added to the dotCMS API for experiment variant names
  • The new limitations restrict any variant names over a certain length or containing certain types of characters
  • Variant names that do not meet these limitations are not accepted by the dotCMS API and an error message is returned
  • Postman tests

dotCMS Version

Tested on master

Proposed Objective

Quality Assurance

Proposed Priority

Priority 3 - Average

@github-actions
Copy link

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.

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

No branches or pull requests

2 participants