Project

General

Profile

Actions

Bug #17583

closed

maxitems influences visibility of "Create new" link if set to "maxitem => 1"

Added by Martin Skopal about 17 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2007-09-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

Picture 3.png (28 KB) Picture 3.png Administrator Admin, 2007-09-05 12:26
T3X_np_status_input-0_1_0-z-200709061340.t3x (50.2 KB) T3X_np_status_input-0_1_0-z-200709061340.t3x Administrator Admin, 2007-09-06 13:39
Actions #1

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.

Actions #2

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.

Actions #3

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

Actions

Also available in: Atom PDF