Project

General

Profile

Actions

Bug #90753

closed

widget autocomplete url has still wrong masking with &

Added by Markus Dübbert over 4 years ago. Updated over 4 years ago.

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

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

i still get such an url:

?id=73&type=7076&fluid-widget-id=a82f5243badf6301daf99a055366e145&action=autocomplete&term=test

it does not work because of the "&" masking chars.

TYPO3 9.5.14:

in
sysext/fluid/Resources/Private/Templates/ViewHelpers/Widget/Autocomplete

index.html

has this code:
<script type="text/javascript">
jQuery(function() {
jQuery("#{id}").autocomplete(<f:format.raw value="{" />
source: "{f:widget.uri(action:'autocomplete', ajax: 1)}",
minLength: 2
});
});
</script>

must this not be?:

<script type="text/javascript">
jQuery(function() {
jQuery("#{id}").autocomplete(<f:format.raw value="{" />
source: "{f:widget.uri(action:'autocomplete', ajax: 1)->f:format.raw()}",
minLength: 2
});
});
</script>

related:
https://forge.typo3.org/issues/84575


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #84575: Fluid autocomplete widget not working anymoreClosed2018-04-02

Actions
Is duplicate of TYPO3 Core - Task #90091: Update Autocomplete widget template ajax urlClosed2020-01-12

Actions
Actions

Also available in: Atom PDF