Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.0-b1
    • Component/s: None
    • Labels:
      None

      Description

      1. Refactor CronTasks and the `plugin_dir` column to support modules
        • Add a `task_type` column, ENUM(system, plugin, module), default system, after `key`
        • Rename the `plugin_dir` column to `dir`.
        • Update the unique index for (`key`, `plugin_dir`) to (`key`, `task_type`, `dir`)
      2. Update for backward compatibility
        • Update all returned objects to contain a 'plugin_dir' column. If `type` is 'plugin' then set 'plugin_dir' to the value of 'dir', otherwise null. TEST
        • Update existing CronTasks methods and queries that use 'plugin_dir' to continue to work as before. TEST
        • Add any new methods necessary to implement the same functionality on the new structure. Deprecate existing methods accordingly. TEST
        • Update all core system calls to CronTasks to use the new methods. TEST
        • (Create new tasks for each core plugin that uses cron tasks to update them accordingly)

        Activity

        tyson Tyson Phillips (Inactive) created issue -
        tyson Tyson Phillips (Inactive) made changes -
        Field Original Value New Value
        Assignee Tyson Phillips [ tyson ]
        Automated transition triggered when Tyson Phillips (Inactive) created a branch in Stash -
        Status Open [ 1 ] In Progress [ 3 ]
        tyson Tyson Phillips (Inactive) made changes -
        Description # Refactor CronTasks and the `plugin_dir` column to support modules
        #* Add a `type` column, ENUM(system, plugin, module), default system, after `key`
        #* Rename the `plugin_dir` column to `dir`.
        #* Update the unique index for (`key`, `plugin_dir`) to (`key`, `type`, `dir`)
        # Refactor CronTasks and the `plugin_dir` column to support modules
        #* Add a `task_type` column, ENUM(system, plugin, module), default system, after `key`
        #* Rename the `plugin_dir` column to `dir`.
        #* Update the unique index for (`key`, `plugin_dir`) to (`key`, `task_type`, `dir`)
        tyson Tyson Phillips (Inactive) made changes -
        Description # Refactor CronTasks and the `plugin_dir` column to support modules
        #* Add a `task_type` column, ENUM(system, plugin, module), default system, after `key`
        #* Rename the `plugin_dir` column to `dir`.
        #* Update the unique index for (`key`, `plugin_dir`) to (`key`, `task_type`, `dir`)
        # Refactor CronTasks and the `plugin_dir` column to support modules
        #* Add a `task_type` column, ENUM(system, plugin, module), default system, after `key`
        #* Rename the `plugin_dir` column to `dir`.
        #* Update the unique index for (`key`, `plugin_dir`) to (`key`, `task_type`, `dir`)
        # Update for backward compatibility
        #* Update all returned objects to contain a 'plugin_dir' column. If `type` is 'plugin' then set 'plugin_dir' to the value of 'dir', otherwise null. *TEST*
        #* Update existing CronTasks methods and queries that use 'plugin_dir' to continue to work as before. *TEST*
        #* Add any new methods necessary to implement the same functionality on the new structure. Deprecate existing methods accordingly. *TEST*
        #* Update all core system calls to CronTasks to use the new methods. *TEST*
        #* (Create new tasks for each core plugin that uses cron tasks to update them accordingly)
        Automated transition triggered when Tyson Phillips (Inactive) created pull request #412 in Stash -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        Automated transition triggered when Tyson Phillips (Inactive) merged pull request #412 in Stash -
        Status In Review [ 5 ] Closed [ 6 ]
        tyson Tyson Phillips (Inactive) made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        tyson Tyson Phillips (Inactive) made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 1 hour, 15 minutes [ 4500 ]
        Worklog Id 10938 [ 10938 ]
        tyson Tyson Phillips (Inactive) made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            tyson Tyson Phillips (Inactive)
            Reporter:
            tyson Tyson Phillips (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              15/Jun/18

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 hour, 15 minutes
              1h 15m

                Agile