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

Drag update same file with share link - nothing happens #49287

Open
Terrency opened this issue Nov 14, 2024 · 5 comments
Open

Drag update same file with share link - nothing happens #49287

Terrency opened this issue Nov 14, 2024 · 5 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 30-feedback bug feature: files

Comments

@Terrency
Copy link

Steps to reproduce

  1. use docker compose to start a new nextcloud server
  2. setup and create a new folder and share link with create and write privilege
  3. open the share link
  4. drag a file to upload
  5. modify the same file and drag to upload again, nothing happened, some error log in chrome console

Expected behavior

popup a replace or keep dialog for user

Actual behavior

nothing happen, and file is not upload

Other information

Host OS

docker

Output of sudo docker info

Docker run command or docker-compose file that you used

services:
db:
image: mariadb:10.11
restart: always
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
volumes:
- db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=nextcloud
- MYSQL_PASSWORD=nextcloud
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- TZ=Asia/Shanghai
redis:
image: redis:alpine
restart: always
environment:
- TZ=Asia/Shanghai
app:
image: nextcloud
restart: always
ports:
- 80:80
depends_on:
- redis
- db
volumes:
- nextcloud:/var/www/html
environment:
- MYSQL_PASSWORD=nextcloud
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_HOST=db
- TZ=Asia/Shanghai

volumes:
nextcloud:
db:

Other valuable info

@Terrency Terrency added the 0. Needs triage Pending check for reproducibility or if it fits our roadmap label Nov 14, 2024
@szaimen szaimen transferred this issue from nextcloud/all-in-one Nov 14, 2024
@joshtrichards
Copy link
Member

modify the same file and drag to upload again, nothing happened, some error log in chrome console

Since this doesn't sound like an image specific bug, but rather in Nextcloud Server itself, I'm moving this to the Server repository.

@joshtrichards joshtrichards transferred this issue from nextcloud/docker Nov 14, 2024
@joshtrichards joshtrichards changed the title Drag update same file with share link bug Drag update same file with share link - nothing happens Nov 14, 2024
@joshtrichards
Copy link
Member

some error log in chrome console

What is the error that is shown?

@Terrency
Copy link
Author

@joshtrichards
Thank you for your quick response. I am providing some test results and preliminary analysis for your reference:

I tested with nextcloud:latest using the version from before yesterday's update, and found that there was a frontend error indicating that a certain object could not be found.
I also test latest with yesterday's update, only some warning, no errors.
I also tested with an older version, nextcloud:28.0.12, and encountered a frontend error as well, but this error was different from the one in the first test.
I tried versions 29 and 30, and it seems that the errors were different in each case.
Expected Result: The behavior should be consistent with uploading duplicate files after logging in, which should prompt a dialog asking whether to keep the current file or the newly added file.
Personal Opinion: It appears that the shared link page is missing some elements, which prevents the dialog resources from being called. This is because the regular drag-and-drop file upload functionality works fine.

@Terrency
Copy link
Author

After a quick test, here is the errors:
Image

@AntoineNotte
Copy link

I have the same problem without using Docker.

Have you found a solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 30-feedback bug feature: files
Projects
None yet
Development

No branches or pull requests

3 participants