Details
-
Bug
-
Resolution: Obsolete
-
High
-
4.7.0, 5.0, 5.1, 5.2-dev
-
None
-
RHEL 6.4
PHP 5.3.3
Mysql 5.1.69
Description
With autosave enabled duplicates of files and videos are created every-time autosave is called
On Single mode
Steps to reproduce
- In Admin interface create a new folder "News"
- Inside "News" add a new Video object
- In name place Video 1
- Upload a video
- Click in name again (make sure autosave is called)
- If you check var/storage folder the file is present
- Publish video
- In your var/storage folder 2 files are now present
- Delete the Video 1 object
- On command line clear all caches
- In var/storage the duplicates are still present
On a dfs cluster configuration the /var/storage and the ezdfsflie table area affected
Steps to reproduce
- In Admin interface create a new folder "News"
- Inside "News" add a new Video object
- In name place Video 1
- Upload a video
- Click in name again (make sure autosave is called)
- If you verify ezdfsfile table an entry for the video is created
- If you check your shared dfs var/storage folder the file is present
- Publish video
- In ezdfsfile table verify that you get a new line for the video
- In your share dfs folder 2 files are now present
- Delete the Video 1 object
- On command line clear all caches and run the cluster maintenance cronjob
- php runcronjobs.php cluster_maintenance
- In ezdfsfile table and in var/storage the duplicates are still present
Note: every-time you call autosave with the object already in the field (file or video) it will generate a duplicate
Attachments
Issue Links
- discovered while testing
-
EZP-18865 Separate DFS binary & cache tables and make it configurable
- Closed