[TYPO3-templavoila] Migration from TV 0.4.0 to TV 1.0.1

Raphael GEYER typo3news at ameos.com
Tue Apr 11 11:47:44 CEST 2006


Hi Dimitry,

Thanks for the link, it helps but doesn't correct everything.
In content elements which only have
<meta>
</meta>

It produces :

Warning: array_unique(): The argument should be an array in 
/www/typo3_src-4.0/t3lib/class.t3lib_flexformtools.php on line 150

Warning: Invalid argument supplied for foreach() in 
/www/typo3_src-4.0/t3lib/class.t3lib_flexformtools.php on line 249

Warning: Invalid argument supplied for foreach() in 
/www/typo3_src-4.0/t3lib/class.t3lib_flexformtools.php on line 249
View FlexForm XML data
It seems the FlexForm XML can be cleaned up a bit. Please compare the 
current and suggested XML structure and press the "Clean" button below if 
you wish to clean it!
Current XML:
Syntax highlighting <T3FlexForms> XML:

   1: <?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
   2: <T3FlexForms>
   3:     <meta>
   4:     </meta>
   5:     <data>
   6:         <sheet index="sDEF">
   7:             <language index="lDEF">
   8:                 <field index="field_filedownloadtitreimg">
   9:                     <value 
index="vDEF">fileadmin/Images/Interface/Fleches/flechePixelRouge.gif</value>
  10:                     <value index="vDE"></value>
  11:                     <value index="vFR"></value>
  12:                 </field>
  13:                 <field index="field_filedownloadtitre">
  14:                     <value index="vDEF">Background Note, April 
2005</value>
  15:                     <value index="vDE"></value>
  16:                     <value index="vFR"></value>
  17:                 </field>
  18:             </language>
  19:         </sheet>
  20:     </data>
  21: </T3FlexForms>



Clean XML:
Syntax highlighting <T3FlexForms> XML:

   1: ERROR: The input content failed XML parsing:
   2:

Difference:
<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?> <T3FlexForms> 
<meta> </meta> <data> <sheet index="sDEF"> <language index="lDEF"> <field 
index="field_filedownloadtitreimg"> <value 
index="vDEF">fileadmin/Images/Interface/Fleches/flechePixelRouge.gif</value> 
<value index="vDE"></value> <value index="vFR"></value> </field> <field 
index="field_filedownloadtitre"> <value index="vDEF">Background Note, April 
2005</value> <value index="vDE"></value> <value index="vFR"></value> 
</field> </language> </sheet> </data> </T3FlexForms>


Regards,


"Dmitry Dulepov" <typo3 at fm-world.ru> a ecrit dans le message de news: 
mailman.1.1144691216.30934.typo3-project-templavoila at lists.netfielders.de...
> Hi!
>
> Raphael GEYER wrote:
>> Our old records store in field tx_templavoila_flex  :
>> <meta>
>> </meta>
>> or
>> <meta type=array>
>> </meta>
>> In order to keep the links to content elements we have to
>> remove the meta tags
>> or insert
>> <currentSheetId>sDEF</currentSheetId> into meta tags
>>
>> How should this be handled ?
>
> See if this helps: http://bugs.typo3.org/view.php?id=3196
>
> Dmitry.
> -- 
> "It is our choices, that show what we truly are,
> far more than our abilities." (A.P.W.B.D.) 





More information about the TYPO3-project-templavoila mailing list