[TYPO3-templavoila] List of must-have-fixes for 1.0

Martin Klaus klausm at in.tum.de
Thu Apr 6 05:10:40 CEST 2006


Hi Robert,

I've found some errors in class tx_templavoila_api.php (v0.8.1):
(I will create a bug report if someone can confirm these bugs)

--------------------------------------------------------------------
1.) function flexform_getPointerFromString ($flexformPointerString)
--------------------------------------------------------------------

  (Line 781 ff.)

  ....
  if (count($targetCheckArr) == 2) {
  // Bug here?: i think it should be:  if (count($locationArr) == 2) {

     $flexformPointer = array (
        'table' => $locationArr[0],
        'uid' => $locationArr[1]
     );
  } else {
     $flexformPointer = array (
       'table' => $locationArr[0],
       'uid' => $locationArr[1],
  ....

---------------------------------------------------
2.) flexform_getStringFromPointer ($flexformPointer)
---------------------------------------------------

  (Line 824 ff.)

.....
   if (isset ($flexformPointer['targetCheckuid'])) {
        // Bug here:  ['targetCheckUid']

        $flexformPointerString .= 
'/tt_content:'.$flexformPointer['targetCheckuid'];
        // Bug here:  ['targetCheckUid']

   }
.....

regards,
Martin Klaus






More information about the TYPO3-project-templavoila mailing list