You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation Module Installer states that there is a key for schedulers which would be
An array of schedulers to be installed. Each entry is an array with a single key:
This means that these should be copied to the schedulers directory.
However, in practice, this functionality does not work.
If you look at the $manifestMap in ModuleInstall/ModuleScanner.php:51 as well $tasksModuleInstall/ModuleInstaller.php:123 you'll see there isn't actually a definition for schedulers or a install_schedulers task.
The work around for this is you need to use the copy key like such
When installing a custom module with a manifest.php file that has a key for schedulers, it should install the Scheduler. as documented.
Actual Behavior
The key schedulers key in manifest is just ignored.
Possible Fix
Add the correct functionality to ModuleInstall/ModuleScanner.php:51 and ModuleInstall/ModuleInstaller.php:123
Steps to Reproduce
Create a Custom module
Update the manifest.php to have an array with a key of schedulers
Create in the module a Scheduler
Install the custom module through Module Loader
Look at scheduled jobs
Context
The documentation is wrong and takes a bit of debugging to figure out. You then need to use the copy key instead of a cleaner schedulers key for what is actually going on.
Your Environment
SuiteCRM Version used: 7.x
Browser name and version (e.g. Chrome Version 51.0.2704.63 (64-bit)): 123.0.6312.86
The text was updated successfully, but these errors were encountered:
Issue
The documentation Module Installer states that there is a key for
schedulers
which would beThis means that these should be copied to the
schedulers
directory.However, in practice, this functionality does not work.
If you look at the
$manifestMap
inModuleInstall/ModuleScanner.php:51
as well$tasks
ModuleInstall/ModuleInstaller.php:123
you'll see there isn't actually a definition forschedulers
or ainstall_schedulers
task.The work around for this is you need to use the
copy
key like suchExpected Behavior
When installing a custom module with a
manifest.php
file that has a key forschedulers
, it should install the Scheduler. as documented.Actual Behavior
The key
schedulers
key in manifest is just ignored.Possible Fix
Add the correct functionality to
ModuleInstall/ModuleScanner.php:51
andModuleInstall/ModuleInstaller.php:123
Steps to Reproduce
manifest.php
to have an array with a key ofschedulers
Context
The documentation is wrong and takes a bit of debugging to figure out. You then need to use the
copy
key instead of a cleanerschedulers
key for what is actually going on.Your Environment
The text was updated successfully, but these errors were encountered: