Actions
Bug #103425
closedempty Rows in backend_layout-structure cannot edit or delete with grafic editor and throws Error in Backend User Interface
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
Start date:
2024-03-19
Due date:
% Done:
100%
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
Screenshot 2
Screenshot 3
Files
Actions