Project

General

Profile

Actions

Bug #66952

closed

Intermittent mapping ignore

Added by Richard D over 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2015-05-14
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
hard
Is Regression:
No
Sprint Focus:

Description

Typo3 6.2.12
One custom extension on one website seems to be generating from ext_typoscript_setup incorrectly

There are two records mapped as:
@COMPANY\Extension\Domain\Model\Coupon {
subclasses {
Tx_Extension_CouponForF = COMPANY\Extension\Domain\Model\CouponF
}
mapping {
tableName = tx_extension_domain_model_coupon
recordType = Tx_Extension_Coupon
}
}

COMPANY\Extension\Domain\Model\CouponF {
mapping {
tableName = tx_extension_domain_model_coupon
recordType = Tx_Extension_CouponForF
}
}@

The website runs fine however at random intervals we get a Typo3 error similar to:
table tx_extension_domain_model_couponf does not exist
Once this error occurs the error will not go away until the install tool cache is cleared. It will then work for a period until the error occurs again. The record/relation that it is attempting to pull is a property of another table.

I've checked cf_extbase_datamapfactory_datamap and content is set to:
O:52:"TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMap":19:{s:12:" * className";s:39:"COMPANY\Extension\Domain\Model\CouponF";s:12:" * tableName";s:36:"tx_extension_domain_model_couponf";s:13:" * recordType";N;s:13:" * subclasses";a:0:{}s:13:" * columnMaps";a:0:{}s:19:" * pageIdColumnName";s:3:"pid";s:23:" * languageIdColumnName";N;s:30:" * translationOriginColumnName";N;s:29:" * modificationDateColumnName";N;s:25:" * creationDateColumnName";N;s:20:" * creatorColumnName";N;s:24:" * deletedFlagColumnName";N;s:25:" * disabledFlagColumnName";N;s:22:" * startTimeColumnName";N;s:20:" * endTimeColumnName";N;s:30:" * frontendUserGroupColumnName";N;s:23:" * recordTypeColumnName";N;s:11:" * isStatic";b:0;s:12:" * rootLevel";b:0;}
when it breaks. When the install tool cache is cleared it becomes:
O:52:"TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMap":19:{s:12:" * className";s:39:"COMPANY\Extension\Domain\Model\CouponF";s:12:" * tableName";s:35:"tx_extension_domain_model_coupon";s:13:" * recordType";s:26:"Tx_Extension_CouponForF";s:13:" * subclasses";a:0:{}s:13:" * columnMaps";a:1:{s:13:"txExtbaseType";O:54:"TYPO3\CMS\Extbase\Persistence\Generic\Mapper\ColumnMap":18:{s:15:" * propertyName";s:13:"txExtbaseType";s:13:" * columnName";s:15:"tx_extbase_type";s:17:" * typeOfRelation";s:13:"RELATION_NONE";s:17:" * childClassName";N;s:17:" * childTableName";N;s:27:" * childTableWhereStatement";N;s:23:" * childSortByFieldName";N;s:20:" * relationTableName";N;s:32:" * relationTablePageIdColumnName";N;s:27:" * relationTableMatchFields";N;s:28:" * relationTableInsertFields";N;s:30:" * relationTableWhereStatement";N;s:21:" * parentKeyFieldName";N;s:23:" * parentTableFieldName";N;s:20:" * childKeyFieldName";N;s:24:" * dateTimeStorageFormat";N;s:7:" * type";O:43:"TYPO3\CMS\Core\DataHandling\TableColumnType":1:{s:8:" * value";s:5:"INPUT";}s:15:" * internalType";O:46:"TYPO3\CMS\Core\DataHandling\TableColumnSubType":1:{s:8:" * value";s:0:"";}}}s:19:" * pageIdColumnName";s:3:"pid";s:23:" * languageIdColumnName";s:16:"sys_language_uid";s:30:" * translationOriginColumnName";s:11:"l10n_parent";s:29:" * modificationDateColumnName";s:6:"tstamp";s:25:" * creationDateColumnName";s:6:"crdate";s:20:" * creatorColumnName";s:9:"cruser_id";s:24:" * deletedFlagColumnName";s:7:"deleted";s:25:" * disabledFlagColumnName";s:6:"hidden";s:22:" * startTimeColumnName";N;s:20:" * endTimeColumnName";N;s:30:" * frontendUserGroupColumnName";N;s:23:" * recordTypeColumnName";s:15:"tx_extbase_type";s:11:" * isStatic";b:0;s:12:" * rootLevel";b:0;}

Actions

Also available in: Atom PDF