Bug #58917
Pluginviews and properties
Status: | Closed | Start date: | 2014-05-19 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | - | |||
Target version: | - |
Description
Properties defined in node yaml not present in actions used by pluginview.
Having a defined targetNode property in my plugin configuration.
This value is not present if an action is defined as a pluginview.
History
#1 Updated by Bastian Waidelich about 1 year ago
- Status changed from New to Needs Feedback
- Assigned To set to Bastian Waidelich
Hi Carsten,
can you please add a short example, I can't comprehend/reproduce the issue.
#2 Updated by Carsten Bleicker about 1 year ago
Sure,
this is my current yaml for my plugin.
'PIPEU.Factura.NodeTypes:Basket': superTypes: ['TYPO3.Neos:Plugin'] ui: label: 'Basket' group: 'plugins' inspector: groups: settings: label: 'Settings' position: 100 options: pluginViews: 'InvoiceAction': label: 'Invoice View' controllerActions: 'PIPEU\Factura\NodeTypes\Controller\BasketController': ['invoice'] 'DeliveryAction': label: 'Delivery View' controllerActions: 'PIPEU\Factura\NodeTypes\Controller\BasketController': ['delivery'] 'ProviderAction': label: 'Provider View' controllerActions: 'PIPEU\Factura\NodeTypes\Controller\BasketController': ['provider'] 'ControlAction': label: 'Control View' controllerActions: 'PIPEU\Factura\NodeTypes\Controller\BasketController': ['control'] properties: termsAndConditionNode: type: reference ui: label: 'Terms and Conditions Location' inspector: group: 'settings'
having neos sites:
basket (contains basket plugin) invoid (contains plugin view) delivery (contains plugin view) provider (contains plugin view) control (contains plugin view)
example debug with usage of pluginviews this debug returns NULL:
public function controlAction(){ \TYPO3\Flow\var_dump($this->request->getInternalArgument('__termsAndConditionNode'), __CLASS__.'#'.__LINE__, FALSE, FALSE); }
without usage of pluginviews (simply remove them from the yaml and call action via get paramt) the debug is not empty and shows me the node.
#3 Updated by Christian Müller about 1 year ago
You will get the PluginView node inside your PluginView. I guess we need to (also) provide the original plugin node...
#4 Updated by Bastian Waidelich 8 months ago
- Status changed from Needs Feedback to New
- Assigned To deleted (
Bastian Waidelich)
Thanks for the feedback (and sorry for the missing response).
I totally agree, this would make a lot of sense. Unfortunately I can't look into this one right now so I unassign myself in case someone feels like taking over
#5 Updated by Dominique Feyer 5 months ago
- Status changed from New to Closed
Validated and Migrated to Jira: https://jira.typo3.org/browse/NEOS-1095