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

fixed addExternalMethod #354

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

fixed addExternalMethod #354

wants to merge 1 commit into from

Conversation

zmsdev
Copy link
Contributor

@zmsdev zmsdev commented Jan 10, 2025

Fixed zopeutil.addExternalMethod:
Problem when traversing the hierarchy, Application-Object does not seem to know getParentNode() anymore.
Same fix as in zopeutil.readData()
Could be refactored in a better way.

@zmsdev zmsdev requested review from cmeier76 and drfho January 10, 2025 14:11
@drfho
Copy link
Contributor

drfho commented Jan 10, 2025

the try/pass just works around the problem: the Zope- ExtMethod-obj will not be created and thus ZMI shows just an not existing / disfunctional object-ref. In the end this does not work.
The code-area is empty, obvisously: maybe this is the reason why the Zope obj cannot be created (because a function need to referenced in the obj properties). Race-condition?

extMethod

In ancient times inserting an ExtMethod-attr by default looked like this

image

Copy link
Contributor

@drfho drfho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

2 participants