ezpublish-legacy icon indicating copy to clipboard operation
ezpublish-legacy copied to clipboard

Remove object link if user removes a related object in the objectrelationlist datatype attribute

Open pkamps opened this issue 8 years ago • 2 comments

The patch comes from the ez publish enterprise version. It fixes a bug in the objectrelationlist attribute: when removing an object relation in the attribute it was not removing it from the object relation DB table. This patch fixes the issue.

This patch replaces: https://github.com/ezsystems/ezpublish-legacy/pull/1271

#1271 also contains steps how to test the fix.

pkamps avatar Jan 20 '17 10:01 pkamps

Nitpick, but why not keep the variable names the same as they where ? It would make it easier to 'get' what has changed and what not

gggeek avatar Jan 20 '17 10:01 gggeek

That's how it's fixed in the enterprise version. The code style is also not consistent... but there is probably a benefit to stay as close as possible to the enterprise code version.

pkamps avatar Jan 20 '17 15:01 pkamps