Project

General

Profile

Actions

Bug #92982

closed

Fluid and javascript variables

Added by X B almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Start date:
2020-12-03
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hello,

We have found a bug with fluid template.
The javascript variables with a TYPO3 constant seems doesnt work after an f: format tag

The following code:

<script>var avt= "{data.tx_mask_chart}";</script>

 <h1> TEST  <f:format.date format="d/m/Y">{data.tx_mask_date}</f:format.date></h1>

 <script>var apres= "{data.tx_mask_chart}";</script>

renders the following HTML:

 <script>var avt= "#c6ce4e";</script>

<h1> TEST  30/12/2018</h1>

<script>var apres= "{data.tx_mask_chart}";</script>

The variable doesn't seem to work after the f: format tag

TYPO3 version is 8.7.38.

The problem seems to come from the last update of typo3.

Any ideas?

Thanks

Actions #1

Updated by Oliver Hader almost 4 years ago

  • Status changed from New to Needs Feedback

Cannot reproduce in master (v11).

Since you're on TYPO3 v8 ELTS branch, I'd like to ask you to either use the ELTS service desk or send a mail to . Thx!

Actions #2

Updated by Riccardo De Contardi over 3 years ago

  • Status changed from Needs Feedback to Closed

I close this issue after long time without feedback (> 90 days);

if you think that this is the wrong decision or experience the issue again, please reopen it or open a new issue with a reference to this one.

Thank you.

Actions

Also available in: Atom PDF