V3.0 "FILE DELETE IN PAGE BUG"

uuu_yyy

Avatar: uuu_yyy

2011-01-03 14:13

If some of files different of picture in PAGE is deleted it's removed from the server too!

To reproduce BUG:
Go to page "Company" then to tab "files" and select to DELETE "_demo_test.html" from page, press "Save" and the file disappire from SERVER!

» Quick.Cms v3.x

Makaron

Avatar: Makaron

2011-01-03 15:56

Why it shouldn't be deleted? If You didn't connect this file with another page it will be deleted from server too..

Mak-Web.pl - Modyfikacje skryptów Q.Cart i Q.Cms

uuu_yyy

Avatar: uuu_yyy

2011-01-04 10:30

Thank for answer!

According to my logic:
The SERVER directory “files” is a container of some files. You can put files on the SERVER by FTP and you’ll see them in “files” tab. When you add some file to PAGE, you actually add only link to the PAGE (and eventually produce some smaller image / thumbnail for pictures). When you DELETE some file in PAGE, only the link (and eventually thumbnail) must be removed.

Now I understand yours logic:
If something is removed from PAGE and there are no references to it, it is removed from the SERVER too. It is for all type of files including pictures. In my post it was wrong (for files different of picture).

There is different weakness in both logics. I can’t explain shortly that weakness.

uuu_yyy

Avatar: uuu_yyy

2011-01-04 10:33

Thank for answer!

According to my logic:
The SERVER directory “files” is a container of some files. You can put files on the SERVER by FTP and you’ll see them in “files” tab. When you add some file to PAGE, you actually add only link to the PAGE (and eventually produce some smaller image / thumbnail for pictures). When you DELETE some file in PAGE, only the link (and eventually thumbnail) must be removed.

Now I understand yours logic:
If something is removed from PAGE and there are no references to it, it is removed from the SERVER too. It is for all type of files including pictures. In my post it was wrong (for files different of picture).

There is different weakness in both logics. I can’t explain shortly that weakness.

uuu_yyy

Avatar: uuu_yyy

2011-01-04 10:36

There is some problem with quotes and apostrophe :)

Back to top
about us | contact