[Typo3-dev] Templavoila issue (bug?)

Gabriel Anast gabriel at anast.org
Wed May 25 01:42:31 CEST 2005


Issue: Incomplete xml rewriting

How to produce issue:

1. Create a DS with an element that is a TypoScript Object Path
2. Re-Load the DS and change the element type to Content Elements
==> The original xml for the TSOB is retained with the additional xml 
for the Content Element as follows:

--------------------------------------------------------------------

    <tx_templavoila type="array">
        <title>Context Menu</title>
        <description>Map this to the blah blah blah...</description>
        <sample_data type="array">
            <numIndex index="0">Welcome to blah..</numIndex>
        </sample_data>
        <eType>ce</eType>
        <eType_EXTRA type="array">
            <objPath></objPath>                     //I presume this 
should instead be:             <objPath>lib.myObject</objPath>
        </eType_EXTRA>
        <TypoScriptObjPath>lib.contextMenu</TypoScriptObjPath>      
//this should be deleted
        <TypoScript>
    10= RECORDS
    10.source.current=1
    10.tables = tt_content
        </TypoScript>
    </tx_templavoila>

--------------------------------------------------------------------

I presume this is just a lack of cleanup conditions around the new 
"Object Path" form option in the Building Data Structure page...

...in any case, what is the difference between: <eType_EXTRA 
type="array"><objPath></objPath></eType_EXTRA> and 
<TypoScriptObjPath></TypoScriptObjPath>

--gabe




More information about the TYPO3-dev mailing list