Project

General

Profile

Actions

Bug #25161

closed

Backend layouts: columns when editing content

Added by Tomas Mrozek about 13 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-02-24
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

There seems to be some major issue when the select box for columns is render while having backend layout setup. Columns that are not assigned a column number (and thus cannot be used as in Page module) are getting listed as available options.

See "Steps To Reproduce" to see the setup, rendered output and expected correct output.

Column configuration:
backend_layout {
colCount = 2
rowCount = 5
rows {
1 {
columns {
1 {
name =
}
2 {
name = B
colPos = 10
}
}
}
2 {
columns {
1 {
name = C
colspan = 2
colPos = 11
}
}
}
3 {
columns {
1 {
name = D
colspan = 2
}
}
}
4 {
columns {
1 {
name = E
colspan = 2
colPos = 12
}
}
}
5 {
columns {
1 {
name =
}
2 {
name = G
colPos = 13
}
}
}
}
}

Select box options when editing content:
<option value=""></option>
<option value="10">B</option>
<option value="11">C</option>
<option value="">D</option>
<option value="12" selected="selected">E</option>
<option value=""></option>
<option value="13">G</option>

Expected select box options:
<option value=""></option>
<option value="10">B</option>
<option value="11">C</option>
<option value="12" selected="selected">E</option>
<option value="13">G</option>

(issue imported from #M17745)

Actions

Also available in: Atom PDF