Dependency Graph

Dependency Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

This bug affects 1 person(s).
 12
IDProjectCategoryView StatusLast Update
09778Bug reportsPluginspublic2015-08-12 12:51
ReporterDenisChenu Assigned Tosammousa  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.06+ 
Summary09778: Unable to use cron event
Description

Trying to use cron event:

Steps To Reproduce

$ php application/commands/console.php plugin cron --interval=1
exception 'CException' with message 'ConsoleApplication and its behaviors do not have a method or closure named "getPluginManager".' in /LimeSurvey/framework/base/CComponent.php:266
Stack trace:
#0 /LimeSurvey/application/commands/PluginCommand.php(21): CComponent->__call('getPluginManage...', Array)
#1 /LimeSurvey/application/commands/PluginCommand.php(21): ConsoleApplication->getPluginManager()
#2 [internal function]: PluginCommand->actionCron('1')
#3 /LimeSurvey/framework/console/CConsoleCommand.php(172): ReflectionMethod->invokeArgs(Object(PluginCommand), Array)
#4 /LimeSurvey/framework/console/CConsoleCommandRunner.php(71): CConsoleCommand->run(Array)
#5 /LimeSurvey/framework/console/CConsoleApplication.php(92): CConsoleCommandRunner->run(Array)
#6 /LimeSurvey/framework/base/CApplication.php(184): CConsoleApplication->processRequest()
#7 /LimeSurvey/application/commands/console.php(48): CApplication->run()

TagsNo tags attached.
Bug heat12
Complete LimeSurvey version number (& build)150717
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionmysql 5
Server OS (if known)debian/linux
Webserver software & version (if known)cli
PHP VersionPHP Version 5.4.41-0+deb7u1

Relationships

has duplicate 09779 closedc_schmitz console.php - Class 'PluginManager' not found 

Activities

DenisChenu

DenisChenu

2015-07-21 11:36

developer   ~32734

Think pluginManager can be readded but using autoloader complete string.

See https://github.com/LimeSurvey/LimeSurvey/commit/bac5b2cbea5e46850830abcca2b29dee4aa3f66d

sammousa

sammousa

2015-07-21 15:42

reporter   ~32735

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=15587

c_schmitz

c_schmitz

2015-07-24 12:13

administrator   ~32803

This is not resolved.
WHen starting "php console.php plugin cron --interval"
I get

exception 'CException' with message 'ConsoleApplication and its behaviors do not have a method or closure named "getPluginManager".' in C:\xampp\htdocs\limesurvey206\framework\base\CComponent.php:266
Stack trace:
#0 C:\xampp\htdocs\limesurvey206\application\commands\PluginCommand.php(21): CComponent->__call('getPluginManage...', Array)
#1 C:\xampp\htdocs\limesurvey206\application\commands\PluginCommand.php(21): ConsoleApplication->getPluginManager()
#2 [internal function]: PluginCommand->actionCron(true)
#3 C:\xampp\htdocs\limesurvey206\framework\console\CConsoleCommand.php(172): ReflectionMethod->invokeArgs(Object(PluginCommand), Array)
#4 C:\xampp\htdocs\limesurvey206\framework\console\CConsoleCommandRunner.php(71): CConsoleCommand->run(Array)
#5 C:\xampp\htdocs\limesurvey206\framework\console\CConsoleApplication.php(92): CConsoleCommandRunner->run(Array)
#6 C:\xampp\htdocs\limesurvey206\framework\base\CApplication.php(184): CConsoleApplication->processRequest()
#7 C:\xampp\htdocs\limesurvey206\application\commands\console.php(55): CApplication->run()
#8 {main}

sammousa

sammousa

2015-07-24 13:53

reporter   ~32808

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=15615

c_schmitz

c_schmitz

2015-08-12 12:51

administrator   ~32920

Version 2.06+ Build 150812 released

Related Changesets

LimeSurvey: master c0e3f7af

2015-07-21 13:41:51

sammousa

Details Diff
Fixed issue 09778: Unable to use cron event Affected Issues
09778
mod - application/commands/console.php Diff File

LimeSurvey: master 3512b5c4

2015-07-24 11:53:21

sammousa

Details Diff
Fixed issue 09778 Affected Issues
09778
mod - application/commands/PluginCommand.php Diff File

Issue History

Date Modified Username Field Change
2015-07-16 15:11 DenisChenu New Issue
2015-07-18 13:07 DenisChenu Relationship added related to 09779
2015-07-21 11:36 DenisChenu Note Added: 32734
2015-07-21 15:42 sammousa Status new => resolved
2015-07-21 15:42 sammousa Resolution open => fixed
2015-07-21 15:42 sammousa Assigned To => sammousa
2015-07-21 15:42 sammousa Changeset attached => LimeSurvey master c0e3f7af
2015-07-21 15:42 sammousa Note Added: 32735
2015-07-24 12:13 c_schmitz Note Added: 32803
2015-07-24 12:13 c_schmitz Status resolved => feedback
2015-07-24 12:13 c_schmitz Resolution fixed => reopened
2015-07-24 13:53 sammousa Changeset attached => LimeSurvey master 3512b5c4
2015-07-24 13:53 sammousa Note Added: 32808
2015-07-24 13:54 sammousa Status feedback => resolved
2015-07-24 13:54 sammousa Resolution reopened => fixed
2015-07-24 16:30 c_schmitz Relationship replaced has duplicate 09779
2015-08-12 12:51 c_schmitz Note Added: 32920
2015-08-12 12:51 c_schmitz Status resolved => closed