Issue Task Closed

#67579Remove code duplication in DataHandler::copyRecord_processManyToMany()

Andreas Wolf 06/17/15, 20:00 updated 10/19/17, 21:37

Description

(This relies on #67510 being merged, as the method name is introduced there; until that happens, the method name is copyRecord_procBasedOnFieldType())

There is an if-elseif construct in the method that contains 99% duplicated code and two extremely ugly conditions. The duplication should be removed, while simplifying the condition to an understandable level (or documenting it properly).

Reviews 1