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

NgnoidTV files data not deleted from content.json when user deleting the file from zite #217

Open
mx5kevin opened this issue Jul 2, 2023 · 0 comments

Comments

@mx5kevin
Copy link

mx5kevin commented Jul 2, 2023

Step 1: Please describe your environment

  • ZeroNet version: 0.8.5 (Rev 4625)
  • Operating system: Windows 10
  • Web browser: Firefox
  • Tor status: not available/always/disabled
  • Opened port: yes/no
  • Special configuration:

Step 2: Describe the problem:

Test in Ngnoid.tv upload a file. The site interface can not delete the files from the client and files_optional row the file data are not deleted too. This line in the content.json file only deleted if before deleted the file in the ZeroNet client, than in the site interface.

The data of the deleted files remains, which confuses the download system if download all optional files from the zite are enable. Example the downloading from the zite are stuck.

Steps to reproduce:

  1. Open content.json Upload a file to Ngnoid.tv and delete it.
  2. If the file are not deleted before in the ZeroNet client interface the program are can not delete the deleted file data files_optional line in the content.json line.

Observed Results:

Deleted files data collected in the content.json. The site can not delete video the file too. The same problem in all Kopy Kate clones on ZeroNet. ZeroUp clones are working perfectly they are deleting the file, and the lines too in content.json! Only clones with this faulty code are available on the entire network.

Expected Results:

When the file are Pinned and if the user delete the file, delete the program from the files_optional line the file data and the video file too. In ZeroUp and ZeroUp clones the function are working perfectly.

@mx5kevin mx5kevin changed the title Pinned files data not deleted from content.json when user deleting the file from zite NgnoidTV files data not deleted from content.json when user deleting the file from zite Jul 2, 2023
marek22k pushed a commit to marek22k/ZeroNet that referenced this issue Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant