Bug #33439
closedexternal tables in page modul and versioningWS 2
0%
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.
Updated by Tolleiv Nietsch almost 13 years ago
- Status changed from New to Accepted
- Assignee set to Tolleiv Nietsch
Updated by Jari no-lastname-given over 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.
Updated by Michael Stucki almost 11 years ago
- Category changed from Bugs to Workspaces
Updated by Michael Stucki almost 11 years ago
- Project changed from 624 to TYPO3 Core
- Category changed from Workspaces to Workspaces
- Target version deleted (
4.6)
Updated by Benni Mack about 9 years ago
- Target version changed from 7.5 to 7 LTS
Updated by Benni Mack over 7 years ago
- Status changed from Accepted to Rejected
This was moved in TYPO3 v8 and is not applicable anymore for the TYPO3 Core.