OpenSlides / OpenSlides/openslides-meta

Constraints based on is_directory value

Open
#461 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PLpgSQL
Stars
0
Forks
25
Avg merge
1d 2h
Merged PRs (30d)
12

Description

token, filesize, filename, pdf_information, and mimetype are allowed only when is_directory == False. filename is required in this case. Sources:

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the schema of the mediafile.upload backend-action and compare it with the Mediafiles wiki page linked in the issue. Verify how is_directory controls token, filesize, filename, pdf_information, and mimetype, including the required filename case; done means the schema enforces all listed constraints.

Written by the indexing model from the issue text.

Assessment

Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.