owncloud / owncloud/ocis

Activity. No activity for copying a zero byte file

Open
#10,417 0 comments 0 reactions 0 assignees View on GitHub
Type:Bug
Dominant language
Go
Stars
2.1k
Forks
274
Avg merge
2d 2h
Merged PRs (30d)
106

Description

## Describe the bug
Response message for copying file to a folder is not given when listing activities of the destination file and destination folder.

## Steps to reproduce
1. Upload zero byte file `zerobyte.txt`.
2. Create a folder `FOLDER`
3. Copy file `zerobyte.txt` to folder `FOLDER`
4. Check activities of both destination file `FOLDER/zerobyte.txt` and destination folder `FOLDER`.

## Expected behavior
Expected to get response for copying the file.

## Actual behavior
#### For activities of destination file `FOLDER/zerobyte.txt`
``` yml
{
"value": []
}
```
![image](https://github.com/user-attachments/assets/4b56767a-06da-4d13-9804-4733f22aaa50)

#### And for activities of destination folder `FOLDER`
- only activity for creation of FOLDER is given but not the file copy activity.
![image](https://github.com/user-attachments/assets/b2fcfdb4-99ea-403c-934f-12c5869cff98)

Contributor guide

Open the contributing guide

Research direction

Reproduce the copy of a zero-byte file into a folder, then inspect the activity listings for both FOLDER/zerobyte.txt and FOLDER. Trace the copy and activity-handling entry points from there; done means both destination resources report the file-copy activity.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.