[FLOW3-general] Creating my first TYPO3 Phoenix plugin

mario chiari m at mariochiari.net
Wed Oct 10 12:04:31 CEST 2012


Hi

still trying to understand how to port a Flow package inside Neos.

I have tried to follow
http://phoenix.typo3.org/documentation/gettingstarted/yourfirstplugin.html#converting-a-flow3-package-into-a-phoenix-plugin  step-by-step, but rename it Mario.Little. 

I get the following error msg:
-----------------
Uncaught Exception in Flow
#1297759968: Exception while property mapping for target type "TYPO3
\TYPO3CR\Domain\Model\NodeInterface", at property path "": Content type
"TYPO3.TYPO3:Plugin" does not exist (More information)

TYPO3\Flow\Property\Exception thrown in file
/var/www/html/TYPO3-Neos-1.0-alpha1/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Property_PropertyMapper_Original.php in line 128.
Reference code: 20121010114228304c09

Nested Exception
#1316451800: Content type "TYPO3.TYPO3:Plugin" does not exist (More
information)

TYPO3\TYPO3CR\Exception thrown in file
/var/www/html/TYPO3-Neos-1.0-alpha1/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_TYPO3CR_Domain_Service_ContentTypeManager_Original.php in line 145.
-----------------

if I erase the line superTypes: ['TYPO3.TYPO3:Plugin'] from the plugin's
Setting.yaml,  I can enter into the BE and see my plugin among the
content elements. Eventually I get the following piece of FE html code:

----------------------
<h3>I'm here to be defaced ;-)<a clickbinding="click"
rel="typo3:Mario.Little:Plugin" class="t3-content-new t3-ajax-link
t3-content-new-icon" href="http://neos.demo/#">
<script id="metamorph-195-start" type="text/x-placeholder"></script>
<img
src="http://neos.demo/_Resources/Static/Packages/TYPO3.TYPO3/Images/Icons/White/text_letter_t_icon-16.png" height="178" width="178">
</a></h3>
---------------------

which is not what I am looking for. 

What have I done wrong? Has 'TYPO3.TYPO3:Plugin' been renamed somehow? 


Help is very welcome.
Thanks
Cheers
mario



 On Tue, 2012-10-09 at 22:31 +0200, mario chiari wrote:
> Hi
> 




More information about the FLOW3-general mailing list