Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-2170

Plugin Manager should only attempt to insert valid fields for actions and events

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.6.0
    • Fix Version/s: 4.0.0-b1
    • Component/s: Plugins
    • Labels:
      None

      Description

      The Plugin Manager inserts records without specifying a filter of available fields allowed to be inserted. Providing invalid fields can result in an SQL error attempting to insert data into a table column that does not exist.

      Update PluginManager::addAction and PluginManager::addEvent to set a list of valid fields to insert into when calling Record::insert.

        Activity

        There are no comments yet on this issue.

          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/Sep/16