Project

General

Profile

Actions

Bug #61268

closed

Updating MM releations doesn't respect tablenames and fieldname fields

Added by Frans Saris over 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Extbase
Target version:
Start date:
2014-08-29
Due date:
% Done:

100%

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

Description

When updating existing linked objects the fields tablenames and fieldname are not respected.

As result:

UPDATE 
  sys_category_record_mm 
SET 
  sorting_foreign='1', tablenames='tx_eventsmanager_domain_model_event', fieldname='categories 
WHERE 
  uid_foreign=21 AND uid_local=91 AND tablenames='tx_eventsmanager_domain_model_event' 

is executed instead of

UPDATE 
  sys_category_record_mm 
SET 
  sorting_foreign='1' 
WHERE 
  uid_foreign=21 AND uid_local=91 AND tablenames='tx_eventsmanager_domain_model_event' AND tablenames='tx_eventsmanager_domain_model_event' AND fieldname='categories

This breaks existing mm releations

Actions

Also available in: Atom PDF