Bug #17583
closedmaxitems influences visibility of "Create new" link if set to "maxitem => 1"
0%
Description
I configured the TCA for n:m relations and displaying both selector and "Create new"-Links.
"brand" => Array (
"exclude" => 1,
"label" => "LLL:EXT:np_status_input/locallang_db.xml:tx_npstatusinput_segment.brand",
"config" => Array (
"type" => "inline",
"foreign_table" => "tx_npstatusinput_brand2segment",
"foreign_field" => "segmentid",
"foreign_label" => "brandid",
"foreign_selector" => "brandid",
"maxitems" => 2,
"appearance" => Array (
"useCombination" => 1,
),
"size" => 3,
)
),
On the first input level, everything seems normal. When creating a new "brand"-entry, all "create new" links from this form disappear, when "maxitems = 1".
In my opinion, this should not be the case.
(issue imported from #M6270)
Files
Updated by Oliver Hader about 17 years ago
Could you please attach your extension? I'm going to test and try to reproduce this concerning your configuration.
Updated by Martin Skopal about 17 years ago
I have now uploaded the extension.
We have circumvented the problem in upgrading PHP to 5.2.4. Since then, this particular problem is gone, and the "Create new"-Link is displayed correctly at maxitems => 1.
Updated by Alexander Opitz over 11 years ago
- Status changed from New to Closed
- Target version deleted (
0)
Closed as it works with 4.2.x