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

Event "OnAfterItemDelete" isn't called, when cateogry item is delted to "Recycle Bin"

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.1-B1
    • Fix Version/s: 5.1.1-B2
    • Component/s: Data Management
    • Labels:
      None

      Description

      There is a nice feature in In-Portal, called "Recycle Bin" (off by default). To use it you:
      1. must create a category/section somewhere
      2. specify created category/section in appropriate configuration variable (RecycleBinFolder)

      Then if you will delete any categories or category items in catalog (in admin console only), then they will be moved to that "Recycle Bin" category instead of actually being delted.

      This is good, but from developer point of view he assumes, that when administrator click on "Delete" button on toolbar, then at the end something should be deleted. When "Recycle Bin" feature is used, then nothing is deleted.

      To solve such a problem I propose to call OnAfterItemDelete event (which happens after item is deleted) in case, when category item is moved to "Recycle Bin".

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: