Details
Description
A plugin can define actions via ::getActions, however, it is limited to only allowing a specific action to be defined once per plugin due to the structure of the primary key set on the `plugin_actions` table.
For example, a plugin cannot currently define multiple primary navigation elements (e.g. to the "nav_primary_staff" action) because of this limitation.
We should consider changing the primary key for `plugin_actions` to an ID or including the URI in it. Functionality has to be updated to support this change, so some methods will probably be deprecated because of the update.
See http://www.blesta.com/forums/index.php?/topic/3619-primary-key-in-plugin-actions/
Activity
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | Short Term [ 10800 ] |
| Description |
A plugin can define actions via ::getActions, however, it is limited to only allowing a specific action to be defined once per plugin due to the structure of the primary key set on the `plugin_actions` table.
For example, a plugin cannot currently define multiple primary navigation elements (e.g. to the "nav_primary_staff" action) because of this limitation. See http://www.blesta.com/forums/index.php?/topic/3619-primary-key-in-plugin-actions/ |
A plugin can define actions via ::getActions, however, it is limited to only allowing a specific action to be defined once per plugin due to the structure of the primary key set on the `plugin_actions` table.
For example, a plugin cannot currently define multiple primary navigation elements (e.g. to the "nav_primary_staff" action) because of this limitation. We should consider changing the primary key for `plugin_actions` to an ID or including the URI in it. See http://www.blesta.com/forums/index.php?/topic/3619-primary-key-in-plugin-actions/ |
| Description |
A plugin can define actions via ::getActions, however, it is limited to only allowing a specific action to be defined once per plugin due to the structure of the primary key set on the `plugin_actions` table.
For example, a plugin cannot currently define multiple primary navigation elements (e.g. to the "nav_primary_staff" action) because of this limitation. We should consider changing the primary key for `plugin_actions` to an ID or including the URI in it. See http://www.blesta.com/forums/index.php?/topic/3619-primary-key-in-plugin-actions/ |
A plugin can define actions via ::getActions, however, it is limited to only allowing a specific action to be defined once per plugin due to the structure of the primary key set on the `plugin_actions` table.
For example, a plugin cannot currently define multiple primary navigation elements (e.g. to the "nav_primary_staff" action) because of this limitation. We should consider changing the primary key for `plugin_actions` to an ID or including the URI in it. Functionality has to be updated to support this change, so some methods will probably be deprecated because of the update. See http://www.blesta.com/forums/index.php?/topic/3619-primary-key-in-plugin-actions/ |
| Story Points | 5 |
| Rank | Ranked higher |
| Sprint | 4.1.0 Sprint 4 [ 41 ] |
| Rank | Ranked lower |
| Assignee | Cody Phillips [ cody ] |
| Assignee | Tyson Phillips [ tyson ] |
| Fix Version/s | 4.1.0 [ 11007 ] | |
| Fix Version/s | Short Term [ 10800 ] |
Automated transition triggered when Tyson Phillips (Inactive) created a branch in Stash -
| Status | Open [ 1 ] | In Progress [ 3 ] |
Automated transition triggered when Tyson Phillips (Inactive) created pull request #271 in Stash -
| Status | In Progress [ 3 ] | In Review [ 5 ] |
| Resolution | Fixed [ 1 ] |
Automated transition triggered when Tyson Phillips (Inactive) merged pull request #271 in Stash -
| Status | In Review [ 5 ] | Closed [ 6 ] |