In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
394 [In-Portal CMS] Data Management feature request always 2009-10-15 08:53 2010-01-11 22:05
alex  
alex  
normal  
closed 5.0.1  
fixed  
 
none 5.0.2-B1  
0
0000394: Add OnBeforeItemValidate event
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.
patch on_before_item_validate_event.patch (1,559) 2009-10-15 08:58
http://tracker.in-portal.org/file_download.php?file_id=115&type=bug
Issue History
2010-01-11 22:05 Dmitry Note Added: 0001351
2010-01-11 22:05 Dmitry Status resolved => closed
2009-10-25 16:05 alex Note Added: 0000984
2009-10-25 16:05 alex Status reviewed and tested => resolved
2009-10-25 16:05 alex Fixed in Version => 5.0.2-B1
2009-10-25 16:05 alex Resolution open => fixed
2009-10-25 16:05 alex Changeset attached 5.0.x r12792
2009-10-25 16:03 alex Note Added: 0000983
2009-10-25 16:03 alex Target Version Icebox => 5.0.2
2009-10-18 01:46 Dmitry Note Added: 0000909
2009-10-18 01:46 Dmitry Assigned To !COMMUNITY => alex
2009-10-18 01:46 Dmitry Status needs testing => reviewed and tested
2009-10-15 08:58 alex Assigned To => !COMMUNITY
2009-10-15 08:58 alex Status active => needs testing
2009-10-15 08:58 alex File Added: on_before_item_validate_event.patch
2009-10-15 08:54 alex Target Version => Icebox
2009-10-15 08:53 alex New Issue

Notes
(0000909)
Dmitry   
2009-10-18 01:46   
Tested ok
(0000983)
alex   
2009-10-25 16:03   
Moving to 5.0.2 release as community input during 5.0.2-B1 version testing.
(0000984)
alex   
2009-10-25 16:05   
Fix committed to 5.0.x branch. Commit Message:

Fixes 0000394: Add OnBeforeItemValidate event
(0001351)
Dmitry   
2010-01-11 22:05   
Closing completed tasks.