Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pkamps
Copy link
Contributor

@pkamps pkamps commented Jan 20, 2017

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:
#1271

#1271 also contains steps how to test the fix.

@gggeek
Copy link
Contributor

gggeek commented Jan 20, 2017

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

@pkamps
Copy link
Contributor Author

pkamps commented Jan 20, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants