Project

General

Profile

Actions

Bug #33439

closed

external tables in page modul and versioningWS 2

Added by Jari no-lastname-given over 12 years ago. Updated almost 7 years ago.

Status:
Rejected
Priority:
Should have
Category:
Workspaces
Target version:
-
Start date:
2012-01-25
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Im having a custom table with enabled versioning and sorting (versioningWS 2).
This table is also listed in the page module by setting:

ext_localconf.php

$TYPO3_CONF_VARS['EXTCONF']['cms']['db_layout']['addTables']['tx_myext_table']0 = array(
'fList' => 'title',
'icon' => TRUE
);

Now if i go into the draft worskapce, list module and change the sorting of a record and then switch back to the page module, i see the record twice.

When i change the sorting, typo3 creates some kind of special placeholder records as far as i know. Seems like those special placeholder records are not filtert in this listing. I've fixed this issue by adding one line of Code.

In sysext/cms/layout/class.tx_cms_layout.php line 143.

From:
$addWhere = $this->externalTables[$table][$type]['addWhere'];

To:
$addWhere = $this->externalTables[$table][$type]['addWhere'];
$addWhere .= t3lib_pageSelect::enableFields($table, 1, array('disabled', 'starttime', 'endtime', 'fe_group'));

So actually i've just added enableFields to the select statement.

Actions #1

Updated by Tolleiv Nietsch over 12 years ago

  • Status changed from New to Accepted
  • Assignee set to Tolleiv Nietsch
Actions #2

Updated by Jari no-lastname-given almost 12 years ago

I can still confirm this bug in the latest typo3 4.6 release (4.6.9) but i've noticed a strange behaviour with records which have a start/endtime set. Those records disappear with my fix in the page module.

Would be nice if someone could take a look on this.

Actions #3

Updated by Michael Stucki over 10 years ago

  • Category changed from Bugs to Workspaces
Actions #4

Updated by Michael Stucki over 10 years ago

  • Project changed from 624 to TYPO3 Core
  • Category changed from Workspaces to Workspaces
  • Target version deleted (4.6)
Actions #5

Updated by Mathias Schreiber over 9 years ago

  • Target version set to 7.5
Actions #6

Updated by Benni Mack over 8 years ago

  • Target version changed from 7.5 to 7 LTS
Actions #7

Updated by Mathias Schreiber over 8 years ago

  • Target version deleted (7 LTS)
Actions #8

Updated by Benni Mack almost 7 years ago

  • Status changed from Accepted to Rejected

This was moved in TYPO3 v8 and is not applicable anymore for the TYPO3 Core.

Actions

Also available in: Atom PDF