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

Orga Media files: edit of file title or folder name leads to error #4135

Closed
MSoeb opened this issue Sep 17, 2024 · 1 comment · Fixed by #4138
Closed

Orga Media files: edit of file title or folder name leads to error #4135

MSoeb opened this issue Sep 17, 2024 · 1 comment · Fixed by #4138
Assignees
Milestone

Comments

@MSoeb
Copy link

MSoeb commented Sep 17, 2024

Describe the bug
If a user wants to edit the title of media file or the name of a folder on orga level an error occurs. The edit is not saved. The action is aborted.

image

image

Payload:
[
{
"action": "mediafile.update",
"data": [
{
"id": 353,
"title": "asdf2",
"meeting_id": null
}
]
}
]

How to Reproduce
Steps to reproduce the behavior:

  1. open Files on orga level
  2. upload a file
  3. edit the title of the file -> error occurs
  4. create a folder
  5. edit the title of the folder -> error

Expected behavior
Changing a folder name or a file name should be possible.

@MSoeb MSoeb added this to the 4.2 milestone Sep 17, 2024
@MSoeb MSoeb changed the title Orga Media files: edit of file title or folder nameleads to error Orga Media files: edit of file title or folder name leads to error Sep 17, 2024
@reiterl reiterl self-assigned this Sep 17, 2024
@luisa-beerboom
Copy link
Member

The problem is twofold:

  1. The client sends "meeting_id": null
  2. The backend doesn't throw a verbose error

I'll fix the latter in the backend, someone will have to fix the client

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

Successfully merging a pull request may close this issue.

3 participants