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

fix: avoid referenced object manipulation (#275) #280

Merged
merged 3 commits into from
Jun 20, 2022

Conversation

vobu
Copy link
Contributor

@vobu vobu commented Jun 19, 2022

vobu added 3 commits June 19, 2022 22:03
first flatten the retrieved ui5 object,
then clone it, avoiding cylic references
- introduce collapseObject for flattening the inheritance Prototype
  this avoids deletion of original object's properties,
  causing unintended side effects
- rm unused window.wdi5...
  - isCyclic
  - removeCyclic
- should fix #275
@vobu vobu merged commit a069544 into main Jun 20, 2022
@vobu vobu deleted the fix/275-obj-manipulation-sideffect branch June 20, 2022 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

executeControlMethod remove of circular references changes original UI5 Object
1 participant