CancelScheduledAction can't be created
Reported by Christopher Stawarz | February 22nd, 2011 @ 11:50 AM | in 0.4.5 (closed)
The factory for CancelScheduledAction uses ComponentRegistry::getObject to find the ScheduledActions instance to cancel. However, the getObject call fails to find the component, because ScheduledActions instances (like all action components) are created with XMLParser::_processAnonymousCreateDirective, which prevents them from being registered by tag.
Probably the right fix is to special-case action/schedule in MWParserTransformation.xsl to use generic_create instead of anonymous_create.
Comments and changes to this ticket
-
Christopher Stawarz April 8th, 2011 @ 12:14 PM
- Milestone cleared.
- Milestone order changed from 168164 to 0
-
David Cox April 11th, 2011 @ 11:08 AM
- State changed from open to resolved
(from [afbfaae9a9f378c7390886398696188c86798a8d]) Eliminated CancelScheduledAction action. Added optional "cancel" parameter to ScheduledActions; when set to a variable name, setting the variable to a true value cancels the scheduled actions. [#71 state:resolved] https://github.com/mworks-project/mw_core/commit/afbfaae9a9f378c739...
-
Christopher Stawarz April 17th, 2012 @ 01:44 PM
- Milestone set to 0.4.5
- Milestone order changed from 2 to 0
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
The core framework and supporting libraries for the MWorks Suite
People watching this ticket
Referenced by
- 71 CancelScheduledAction can't be created (from [afbfaae9a9f378c7390886398696188c86798a8d]) Elimina...