Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-1128

Images are deleted during link approval process (flash uploader fix)

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: New
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.2.0-RC1
    • Fix Version/s: None
    • Component/s: Admin Interfaces
    • Labels:
      None

      Description

      [b]1.[/b] 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.

      [b]2.[/b] Another small problem here - such links (that needed to be approved) have broken icon in catalog. They should have Pending icon I suppose.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                alex Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: