Project

General

Profile

Actions

Bug #78747

closed

Story #69617: FormEngine bugs

pageTsConfig addItems still broken

Added by Christian Kuhn over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
Start date:
2016-11-18
Due date:
% Done:

100%

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

Description

After patch https://review.typo3.org/#/c/50565/10 the pageTsConfig option to add items with icon is now broken for non selectTree render types since the svg of the icon is inlined directly and the non-tree render elements can't deal with that.

example:
TCEFORM.pages.module.addItems.12345 = staticFromPageTs
TCEFORM.pages.module.addItems.12345.icon = actions-close

maybe it's time to make the renderType="selectTree" an own type, we could review the other addItems processors along the way and kick those that don't work with trees anyway ... would mean we need an additional migration, too.

separating that would have the additional benefit that the isTargetRenderType() method could fall, which is a hack in the first place.

if we separate the tree from other select types, we could additionally inline some of the methods that are currently within the abstract into the TcaSelectItems data provider (which would make the patch a breaking patch for people who extend from that class to implement own select types).

For scenarious where selectTree goes to mm tables (like eg. pages.categories), this addItem is also a bit ... well, it is possible to add mm row entries that have no child-child counterpart. this should be documented.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #78628: selectTree pageTsConfig addItems brokenClosed2016-11-09

Actions
Has duplicate TYPO3 Core - Bug #79181: Icons added with Page TS doesn't workClosed2017-01-06

Actions
Actions #1

Updated by Christian Kuhn over 7 years ago

  • Parent task set to #69617
Actions #2

Updated by Christian Kuhn over 7 years ago

  • Description updated (diff)
Actions #3

Updated by Christian Kuhn over 7 years ago

  • Description updated (diff)
Actions #4

Updated by Christian Kuhn over 7 years ago

  • Description updated (diff)
Actions #5

Updated by Christian Kuhn over 7 years ago

  • Description updated (diff)
Actions #6

Updated by Benni Mack over 7 years ago

  • Target version changed from 8.5 to 8.6
Actions #7

Updated by Christian Kuhn about 7 years ago

  • Target version changed from 8.6 to 8 LTS
Actions #8

Updated by Gerrit Code Review about 7 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51766

Actions #9

Updated by Gerrit Code Review about 7 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51766

Actions #10

Updated by Christian Kuhn about 7 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #11

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF