#100845TypeError setTargetPageType has to be int, string given
Description
Hello,
I’m working with RSS feed XML output of extension news. In fluid template you can find following line:
<atom:link href="{f:uri.page(pageType: settings.list.rss.channel.typeNum, absolute: 'true')}" rel="self" type="application/rss+xml" />
The problem is the TypoScript object path which only can return string or array values. But pageType expects an integer value.
I don’t see an easy solution to convert string2int in fluid itself, so, the idea would be to cast that value in PageViewHelper itself.
I will create a patch
Stefan
Reviews 3
History 27
-
Gerrit Code Review pushed patch set 1 for main to change 79003 status
NewUnder Review 05/09/23, 12:43 -
Gerrit Code Review pushed patch set 2 for main to change 79003 05/09/23, 14:22
-
Gerrit Code Review pushed patch set 3 for main to change 79003 05/22/23, 07:49
-
Gerrit Code Review pushed patch set 1 for 12.4 to change 79112 05/23/23, 04:19
-
Gerrit Code Review pushed patch set 1 for 11.5 to change 79132 05/23/23, 04:25
-
Stefan Froemken commented and changed status
Under ReviewResolved done0 %100 % 05/23/23, 04:25 -
Benni Mack changed status
ResolvedClosed 07/09/24, 12:56
Applied in changeset commit:6730213d1058335c08a6f5e2b6a0146958caec85.