CMS MADE SIMPLE FORGE

Cataloger

 

[#8636] purgeAllImage()

avatar
Created By: Sergey (pi314159)
Date Submitted: Tue Nov 13 05:22:03 -0500 2012

Assigned To: Fernando Morgado (JoMorg)
Version: 1.11.2
CMSMS Version: 1.11.2
Severity: Critical
Resolution: None
State: Open
Summary:
purgeAllImage()
Detailed Description:
When item page is open for editing, and in the tab with name 'Images' we mark
existing images for delete, after submit (or apply) purgeAllImage()  is called
twice. So we can see during some time warning message like this:
Warning: unlink(Z:\home\mysite\www\uploads/images/catalog_src/few_src_1.jpg)
[function.unlink]: No such file or directory in
Z:\home\pencode5\www\modules\Cataloger\Cataloger.module.php on line 706. It's
seems like function FillParams() is called twice - first time unlink() goes
successfully and secon time fails to find already deleted files


History