Issue Bug Closed

#83985Faulty YAML property for empty array

Oliver Hader 02/20/18, 19:51 updated 10/02/18, 10:52

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.

Reviews 2