Skip to content

[QA] add tests for tag characters limit #11243

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

Open
4 of 12 tasks
saw-jan opened this issue Apr 17, 2025 · 0 comments
Open
4 of 12 tasks

[QA] add tests for tag characters limit #11243

saw-jan opened this issue Apr 17, 2025 · 0 comments
Assignees
Labels

Comments

@saw-jan
Copy link
Member

saw-jan commented Apr 17, 2025

ticket: https://github.com/owncloud/enterprise/issues/7180
Implemented in #11231

Define the maximum tag length. Defaults to 100 if not set. Set to 0 to not limit the tag length. Changes only impact the validation of new tags.

Default length: 100 chars
Available configs:

  • OCIS_MAX_TAG_LENGTH

Open Task:
Add test scenarios for:

Also get test cases from these criteria:

Acceptance Criteria:

  • Limit the maxium length of a tag in the input field (web)
  • Use a configurable value coming from a capability (web)
  • Implement the capability (server)
  • Check the tag length also. Return 400 Bad Request when at least one tag is too long. (server)
  • Limit the maximum amount of tags on a file (web)
  • Use a configurable value coming from a capability (web)
  • Implement the capability (server)
  • Check the maximum amount of tags on a file also. Return 400 Bad Request when the amount of new tags would exceed the limit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants