ezpublish-legacy
ezpublish-legacy copied to clipboard
Remove object link if user removes a related object in the objectrelationlist datatype attribute
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.
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
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.