[TYPO3-german] TYPO3 6.0alpha1, Fluidtemplates, Backendlayouts, Fehlermeldung

David Greiner davidgreiner at gmx.net
Sun Jun 3 19:06:32 CEST 2012


Hallo Liste!

Ich spiele gerade ein wenig mit der T3 6.0alpha herum und erhalte beim 
Grundtemplating folgende Fehlermeldung.

----

PHP Catchable Fatal Error: Argument 1 passed to
t3lib_file_Service_BackwardsCompatibility_TslibContentAdapterService::modifyDBRow()
  must be an array, null given, called in
/var/t3src/typo3_src-6.0.0alpha1/typo3/sysext/cms/tslib/class.tslib_content.php
  on line 392 and defined in
/var/t3src/typo3_src-6.0.0alpha1/t3lib/file/Service/BackwardsCompatibility/TslibContentAdapterService.php
  line 72

----


Ich konnte dem Fehler soweit auf die Schliche kommen, dass es daran 
liegt, die Wahl des Backend-Layouts mit dem entsprechenden 
Fluid-Template zu verbinden wie in folgendem TS realisiert.
----

page = PAGE
page {
typeNum = 0
     10 = FLUIDTEMPLATE
     10 {
     file.stdWrap.cObject = CASE
     file.stdWrap.cObject {
         key.data = levelfield:-1, backend_layout_next_level, slide
         key.override.field = backend_layout
         default = TEXT
         default.value = fileadmin/templates/page/layouts/index.html
         1 = TEXT
         1.value = fileadmin/templates/page/content/Startseite.html
     }
     partialRootPath = fileadmin/templates/page/partials
     layoutRootPath = fileadmin/templates/page/layouts/
     variables {
         main<  styles.content.get
	}
     }
}

---


Lasse ich die Backend-Layouts aus dem Spiel wie z.B. via

----

10 = FLUIDTEMPLATE
10 {
     file = fileadmin/templates/MyTemplate.html
     variables {
         foo = TEXT
         foo.value = Hello World!
     }
}

---

funktioniert alles bestens.

Hat jemand eine Idee woran das liegen könnte?

Ich bin mir bewusst mit einer Alpha-Version rumzuspielen. Falls es sich 
um einen Bug handeln sollte, der von jemanden bestätigt wird, schreibe 
ich ein Ticket.

Grüße, David.




More information about the TYPO3-german mailing list