In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
1240 [In-Portal CMS] Data Management feature request N/A 2012-03-30 11:44 2012-07-25 05:31
alex  
alex  
normal  
closed 5.2.0-B2  
fixed  
 
none 5.2.0-B3  
https://groups.google.com/d/topic/in-portal-dev/XzyBViPytCs/discussion
Created method for event existence checking without actually calling that event
1
0001240: Ability to detect event implementation
In-Portal uses events to transfer information between different system components and implement loose coupling approach in development.

When user/developer tries to call event, that doesn't exist he sees fatal error.

However I recently was in a need to detect if event exists without actually calling it. And I've created kApplication::eventImplemented method (see attached patch) to do the job.
related to 0001207closed  (5.2.0)alex Ability to subscribe to any system event from e-mail event 
patch event_implementation_detection.patch (6,117) 2012-03-30 11:44
http://tracker.in-portal.org/file_download.php?file_id=1582&type=bug
Issue History
2012-07-25 05:31 alex Note Added: 0004942
2012-07-25 05:31 alex Status resolved => closed
2012-03-30 11:47 alex Status reviewed and tested => resolved
2012-03-30 11:47 alex Fixed in Version => 5.2.0-B3
2012-03-30 11:47 alex Resolution open => fixed
2012-03-30 11:47 alex Assigned To !COMMUNITY => alex
2012-03-30 11:47 alex Changeset attached 5.2.x r15250
2012-03-30 11:47 alex Note Added: 0004540
2012-03-30 11:47 alex Note Added: 0004539
2012-03-30 11:46 alex Note Added: 0004538
2012-03-30 11:46 alex Status needs testing => reviewed and tested
2012-03-30 11:46 alex Assigned To => !COMMUNITY
2012-03-30 11:46 alex Developer => alex
2012-03-30 11:46 alex Status active => needs testing
2012-03-30 11:46 alex Reference => https://groups.google.com/d/topic/in-portal-dev/XzyBViPytCs/discussion
2012-03-30 11:45 alex Relationship added related to 0001207
2012-03-30 11:44 alex New Issue
2012-03-30 11:44 alex File Added: event_implementation_detection.patch
2012-03-30 11:44 alex Change Log Message => Created method for event existence checking without actually calling that event
2012-03-30 11:44 alex Estimate Points => 1

Notes
(0004538)
alex   
2012-03-30 11:46   
Will test all together later.
(0004539)
alex   
2012-03-30 11:47   
Also made use of this method to check existence of event name user can enter during new scheduled task creation.
(0004540)
alex   
2012-03-30 11:47   
Fix committed to 5.2.x branch. Commit Message:

Fixes 0001240: Ability to detect event implementation
(0004942)
alex   
2012-07-25 05:31   
Since 5.2.0 version was released.