Details
Description
See https://www.blesta.com/forums/index.php?/topic/9306-registering-plugin-action-widget_client_home/
I believe Blesta's expectation is that the plugin action contain a URI without query arguments. In some cases, Blesta may set it's own query arguments, and this can cause a conflict. Nonetheless we should look into why the error occurs and
- figure out why the issue occurs and update this task
- update the Blesta documentation to illustrate this expected restriction
- see if this restriction could be alleviated in the future to allow for query parameters (and if so, create a separate task)
Issue Links
- relates to
-
CORE-2439 Allow query parameters for plugin actions
- Closed
Activity
Tyson Phillips (Inactive)
created issue -
Tyson Phillips (Inactive)
made changes -
Field | Original Value | New Value |
---|---|---|
Rank | Ranked higher |
Tyson Phillips (Inactive)
made changes -
Sprint | 4.1.0 Sprint 6 [ 43 ] |
Tyson Phillips (Inactive)
made changes -
Rank | Ranked higher |
Jonathan Reissmueller
made changes -
Assignee | Jonathan Reissmueller [ jonathan ] |
Jonathan Reissmueller
made changes -
Assignee | Jonathan Reissmueller [ jonathan ] |
Jonathan Reissmueller
made changes -
Assignee | Jonathan Reissmueller [ jonathan ] |
Tyson Phillips (Inactive)
made changes -
Status | Open [ 1 ] | Closed [ 6 ] |
Resolution | Won't Fix [ 2 ] |
Jonathan Reissmueller
made changes -
client_controller.php lines 98-101:
$key = str_replace('/', '_', trim($plugin->uri, '/')); $widgets[$key] = [ 'uri' => $this->base_uri . $plugin->uri ];
This key is later used in jquery-client-4.1.0.js line 113:
$('#widget_container_' + this.widget_id).replaceWith(temp);
This is where the error occurs because the the process for forming the key allows characters that are not legal for the jquery expression.