-
Notifications
You must be signed in to change notification settings - Fork 239
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
N°7963 - Inlineimage::SetDefaultOrgId blend field name between Person and linked class #680
base: support/3.2
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Though the fix is ok, the bug shows that a refactoring would be appreciated. See UserRightsProfiles::GetOwnerOrganizationAttCode.
Code review:
|
Code review: |
I've added Vincent to the reviewers so that he will check the unit tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I approve the implementation, leaving the tests coverage review to @v-dumas
… and linked class
…erRights::GetOwnerOrganizationAttCode($sClass)
3ff97be
to
724d283
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review : ok for merging
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issue in the cinematics. Requires further discussion with Eric/Vincent to decide wether this should be implemented as an "After Write" listener.
@@ -3663,6 +3664,8 @@ public function DBUpdate() | |||
return $this->m_iKey; | |||
} | |||
|
|||
$this->UpdateOrganizationOfInlineImages($aChanges); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The update should be done after the object is persisted. With the current implementation, an update interrupted by a CheckToWrite answering "no" will leave the data in an unconsistent state
Internal
Allow to use DBObject::MapContextParam without bug