Project

General

Profile

Actions

Bug #99283

closed

number_format require integer as decimal

Added by Achim Fritz over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2022-12-06
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

passing decimal as string value to various VH results in TypeError "number_format(): Argument #2 ($decimals) must be of type int, string given"
(if using TS settings all variables are strings), e.g

<f:format.bytes decimals="{settings.decimals}">3424</f:format.bytes>

Tested with v12 and PHP 8.1


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #98631: CurrencyViewHelper have parameter decimals as string, int neededClosed2022-10-17

Actions
Actions #1

Updated by Gerrit Code Review over 1 year ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76936

Actions #2

Updated by Gerrit Code Review over 1 year ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76936

Actions #3

Updated by Gerrit Code Review over 1 year ago

Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76954

Actions #4

Updated by Anonymous over 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack about 1 year ago

  • Status changed from Resolved to Closed
Actions #6

Updated by Benni Mack about 1 year ago

  • Related to Bug #98631: CurrencyViewHelper have parameter decimals as string, int needed added
Actions

Also available in: Atom PDF