[TYPO3-calendar] categorySelection disappears during runtime.

Mario Matzulla mario at matzullas.de
Tue Sep 1 17:23:20 CEST 2015


Hi Toke,

Am 01.09.15 um 13:07 schrieb Toke Herkild:
> Hi, all,
> 
> I've an interresting problem with tx_cal (1.9.3) and TYPO3 6.2.10
> 
> I've inserted the plugin on a page, selected 2 categories in categorySelection.
> 
> Now during debugging:
> controller:  ($this->conf[category] && $this->conf[view][categorySelection]) == [selectedCategoryies]
> But in categoryService->getCategorySearchstring()
> $this->conf[category] == 0 and
> $this->conf[view][categorySelection] == 0
> 
> Which results in an where clause that contains: "&& tx_cal_event_category_mm.uid_foreign in (0)"
> 
> This will ofcourse return a dataset of 0 rows, regardles of number of events, calendars and/or categories.
> 
> How does $this->conf gets initialised for the services ? I understand that the property $conf of the services get initialised with a pointer
> to a singleton'ish $conf instance, but who and what configures this singleton ?

It's the static configuration (TS template) for cal. Did you run the update skripts in the install tool after your update? Please verify
that your typoscript is included correctly.

Regards,
Mario

> 
> Regards,
> Toke Herkild
> 
> ---
> Denne e-mail blev kontrolleret for virusser af Avast antivirussoftware.
> https://www.avast.com/antivirus
> 



More information about the TYPO3-project-calendar mailing list