WEBcoast Logo

EXT:form error "Unauthorized modification of historical data. #1528538252"

I recently ran into an error after upgrading from TYPO3 CMS 10.4 to 11.5. When saving a form in the backend i got an exception with the message "Unauthorized modification of historical data. #1528538252". In my case the problem was cause by GridRow element in the form, which had the classPattern of the gridColumnClassAutoConfiguration set to nothing.

My form YAML did look like:

-
  type: GridRow
  identifier: gridrow-1
  label: 'Grid: Row'
  properties:
    gridColumnClassAutoConfiguration:
      gridSize: 100
      viewPorts:
        xs:
          classPattern:
        sm:
          classPattern:
        md:
          classPattern: 'grid__column--md-{@numbersOfColumnsToUse}'
        lg:
          classPattern:
        xl:
          classPattern:

which worked fine in 10.4 but obviously is no longer valid in 11.5.

I had to change the empty classPattern to an empty string:

-
  type: GridRow
  identifier: gridrow-1
  label: 'Grid: Row'
  properties:
    gridColumnClassAutoConfiguration:
      gridSize: 100
      viewPorts:
        xs:
          classPattern: ''
        sm:
          classPattern: ''
        md:
          classPattern: 'grid__column--md-{@numbersOfColumnsToUse}'
        lg:
          classPattern: ''
        xl:
          classPattern: ''

Hope this helps somebody, when stumbeling upon this kind of strange error.