Anonymous | Login | Signup for a new account | 2024-03-29 10:33 CDT |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
View Revisions: Issue #1369 | [ Back to Issue ] | ||
Summary | 0001369: Images are deleted during link approval process (flash uploader fix) | ||
Revision | 2012-07-23 08:49:04 by alex | ||
Description | 1. I've stumbled upon a problem during link approval (from Admin Console). There are 2 category permissions: LINK.OWNER.MODIFY - changes, user makes to it's link are immediately seen on Front-End LINK.OWNER.MODIFY.PENDING - changes, user makes to it's link are stored in another link record for admin to approve/decline When user has LINK.OWNER.MODIFY permission it works, like a charm. However, there are a problems in creating a link, that contains all changes made by user. All files are copied normally. Images are also copied on disk (e.g. image_one.jpg will be copied to image_one_1.jpg), but original image filename stays in link record. This way approving a link will delete all it's images from disk keeping broken records in Images table. Since images are copied at least, then I suppose it's working partially. Then we need to ensure, that copied image filenames are put back into Images table record associated with the link, that will hold all modifications. 2. Another small problem here - such links (that needed to be approved) have broken icon in catalog. They should have Pending icon I suppose. |
||
Revision | 2012-07-23 08:48:40 by alex | ||
Description | I've stumbled upon a problem during link approval (from Admin Console). There are 2 category permissions: LINK.OWNER.MODIFY - changes, user makes to it's link are immediately seen on Front-End LINK.OWNER.MODIFY.PENDING - changes, user makes to it's link are stored in another link record for admin to approve/decline When user has LINK.OWNER.MODIFY permission it works, like a charm. However, there are a problems in creating a link, that contains all changes made by user. All files are copied normally. Images are also copied on disk (e.g. image_one.jpg will be copied to image_one_1.jpg), but original image filename stays in link record. This way approving a link will delete all it's images from disk keeping broken records in Images table. Since images are copied at least, then I suppose it's working partially. Then we need to ensure, that copied image filenames are put back into Images table record associated with the link, that will hold all modifications. Another small problem here - such links (that needed to be approved) have broken icon in catalog. They should have Pending icon I suppose. |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic In-Portal Open Source CMS |