Bug #17583
maxitems influences visibility of "Create new" link if set to "maxitem => 1"
| Status: | Closed | Start date: | 2007-09-05 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| TYPO3 Version: | 4.1 | Complexity: | ||
| PHP Version: | 4.3 | |||
| Votes: | 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)
History
Updated by Oliver Hader over 5 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 over 5 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 14 days ago
- Status changed from New to Closed
- Target version deleted (
0)
Closed as it works with 4.2.x