Project

General

Profile

Actions

Bug #103425

open

empty Rows in backend_layout-structure cannot edit or delete with grafic editor and throws Error in Backend User Interface

Added by Heiko Dietrich about 2 months ago. Updated about 2 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Start date:
2024-03-19
Due date:
% Done:

0%

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

Description

The following backend_layout-structure throws the Errors:

in list mode => Backend Layout
PHP Warning
Core: Error handler (BE): PHP Warning: Undefined array key "columns." in /www/typo3/sysext/backend/Classes/Form/Element/BackendLayoutWizardElement.php line 215
(Screenshot 1)

in page mode => Content with this Backendlayout

PHP Warning
Core: Error handler (BE): PHP Warning: foreach() argument must be of type array|object, null given in /www/typo3/sysext/backend/Classes/View/Drawing/BackendLayoutRenderer.php line 69

Structure (Screenshot 3):

mod.web_layout.BackendLayouts {
  exampleKey {
    title = Example
    icon = EXT:example_extension/Resources/Public/Images/BackendLayouts/default.gif
    config {
      backend_layout {
        colCount = 1
        rowCount = 5
        rows {
          1 {
            columns {
              1 {
                name = Keyvisual
                colPos = 2
              }
            }
          }
          2 {
            columns {
              1 {
                name = Content
                colPos = 1
              }
            }
          }
          3 {
            columns {
              1 {
                name = Footer
                rowspan = 3
                colPos = 3
              }
            }
          }
          4 {
            columns {
            }
          }
          5 {
            columns {
            }
          }
        }
      }
    }
  }
}

It is not possible to delete or edit the row 4 and 5 with the grafic editor (Screenshot 2)

Please Fix that!

Thanks

Screenshot 1
Error
Screenshot 2
grafic editor

Screenshot 3
Structure


Files

clipboard-202403191254-mx8ts.png (19 KB) clipboard-202403191254-mx8ts.png Error Heiko Dietrich, 2024-03-19 11:54
clipboard-202403191254-02hha.png (29.1 KB) clipboard-202403191254-02hha.png grafic editor Heiko Dietrich, 2024-03-19 11:54
clipboard-202403191255-zs4be.png (41.1 KB) clipboard-202403191255-zs4be.png Structure Heiko Dietrich, 2024-03-19 11:55
Actions #1

Updated by Heiko Dietrich about 2 months ago

  • Target version changed from next-patchlevel to Candidate for patchlevel
Actions

Also available in: Atom PDF