In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

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.



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker