Project

General

Profile

Actions

Bug #83985

closed

Faulty YAML property for empty array

Added by Oliver Hader about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
Form Framework
Target version:
-
Start date:
2018-02-20
Due date:
% Done:

100%

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

Description

Scenario:
  • create new form
  • add new text element
  • define placeholder value (not empty)
  • save form
  • clear placeholder (now use empty value)
  • save form

Result in generate YAML file:


renderingOptions:
  submitButtonLabel: Submit
type: Form
identifier: test
label: test
prototypeName: standard
renderables:
  -
    renderingOptions:
      previousButtonLabel: 'Previous step'
      nextButtonLabel: 'Next step'
    type: Page
    identifier: page-1
    label: Step
    renderables:
      -
        defaultValue: ''
        type: Text
        identifier: text-1
        label: Text
        properties:
          fluidAdditionalAttributes: {  }

Description:
fluidAdditionalAttributes: { } gets written YAML which should represent an empty array. It has to be determined, where this { } notation is coming from.

Not tested yet in TYPO3 v8.

Actions

Also available in: Atom PDF