Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-1676

[bc fix] Record & display Module for Scheduled Tasks

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Scheduled
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.3.0-B1
    • Fix Version/s: 5.3.0
    • Component/s: Scheduled Tasks
    • Labels:
      None

      Description

      1. for "kApplication::registerScheduledTask", "kEventManager::registerScheduledTask" and "kScheduledTaskManager::add" modules:
        • move "$module" parameter to the end of method declaration
        • make it optional with "null" default value
      2. in the "kScheduledTaskManager::add", when "$module" parameter isn't specified, then calculate it like this:
        • $event = new kEvent($event_string);
        • $module = $event->getUnitConfig()->getModule();
      3. in the "kUnitConfig::_parseScheduledTasks" method don't specify module at all, since it will be auto-detected anyway

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: