In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Viewing Issue Advanced Details Jump to Notes ] Wiki ] View Simple ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0001240 [In-Portal CMS] Data Management feature request N/A 2012-03-30 11:44 2012-07-25 05:31
Reporter alex View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Platform
Status closed   OS
  OS Version
ETA none Fixed in Version 5.2.0-B3 Product Version 5.2.0-B2
  Target Version 5.2.0 Product Build
Time EstimateNo estimate
Summary 0001240: Ability to detect event implementation
Description 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.
Steps To Reproduce
Additional Information
Tags No tags attached.
Reference https://groups.google.com/d/topic/in-portal-dev/XzyBViPytCs/discussion
Change Log Message Created method for event existence checking without actually calling that event
Estimate Points 1
Attached Files patch file icon event_implementation_detection.patch [^] (6,117 bytes) 2012-03-30 11:44 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to 0001207closed (5.2.0)alex Ability to subscribe to any system event from e-mail event 

-  Notes
User avatar (0004538)
alex (manager)
2012-03-30 11:46

Will test all together later.
User avatar (0004539)
alex (manager)
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.
User avatar (0004540)
alex (manager)
2012-03-30 11:47

Fix committed to 5.2.x branch. Commit Message:

Fixes 0001240: Ability to detect event implementation
User avatar (0004942)
alex (manager)
2012-07-25 05:31

Since 5.2.0 version was released.

- Related Changesets
In-Portal CMS: 5.2.x r15250
Timestamp: 2012-03-30 11:47:57
Author: alex
Details ] Diff ]
Fixes 0001240: Ability to detect event implementation
mod - /in-portal/branches/5.2.x/core/kernel/application.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/kernel/event_handler.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/kernel/event_manager.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/kernel/utility/event.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/kernel/utility/unit_config_reader.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/scheduled_tasks/scheduled_task_eh.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/scheduled_tasks/scheduled_tasks_config.php Diff ] File ]

- Issue History
Date Modified Username Field Change
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



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker