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

Add OnBeforeItemValidate event

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.1
    • Fix Version/s: 5.0.2-B1
    • Component/s: Data Management
    • Labels:
      None

      Description

      I propose to add OnBeforeItemValidate event to kDBEventHandler class. Event should be called, when someone calls kDBItem::Validate method. This can be used to perform custom validation instead of OnBeforeItemCreate/OnBeforeItemUpdate as for now.

      I propose this, because I have project, when kDBItem::Validate method is called on it's own, not from kDBItem::Create/kDBItem::Update methods, and my custom validation checks in OnBeforeItemUpdate/OnBeforeItemCreate are not even called.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: