You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Zope 4.0: ExternalMethods work (can be created, imported and run) but cannot be accessed in the ZMI:
Traceback (innermost last):
Module ZServer.ZPublisher.Publish, line 144, in publish
Module ZPublisher.mapply, line 85, in mapply
Module ZServer.ZPublisher.Publish, line 44, in call_object
Module Shared.DC.Scripts.Bindings, line 335, in __call__
Module Shared.DC.Scripts.Bindings, line 372, in _bindAndExec
Module App.special_dtml, line 214, in _exec
Module DocumentTemplate._DocumentTemplate, line 144, in render_blocks
Module DocumentTemplate._DocumentTemplate, line 166, in render_blocks_
Module DocumentTemplate._DocumentTemplate, line 375, in __getitem__
Module DocumentTemplate._DocumentTemplate, line 393, in getitem
Module Shared.DC.Scripts.Bindings, line 349, in __render_with_namespace__
Module Shared.DC.Scripts.Bindings, line 372, in _bindAndExec
Module App.special_dtml, line 214, in _exec
Module DocumentTemplate._DocumentTemplate, line 144, in render_blocks
Module DocumentTemplate._DocumentTemplate, line 236, in render_blocks_
Module DocumentTemplate._DocumentTemplate, line 236, in render_blocks_
Module DocumentTemplate._DocumentTemplate, line 222, in render_blocks_
Module DocumentTemplate.DT_Util, line 228, in eval
__traceback_info__: getBookmarkableURLs
Module <string>, line 1, in <module>
NameError: name 'getBookmarkableURLs' is not defined
Worked with Zope 4.0b9 and b10. Same Version of Products.ExternalMethod: 4.1 (same problem with 4.2)
The text was updated successfully, but these errors were encountered:
georgpfolz
changed the title
ExternalMethod not working
ExternalMethod ZMI problem
May 18, 2019
d-maurer
added a commit
to zopefoundation/Products.ExternalMethod
that referenced
this issue
May 18, 2019
Unlike other objects, ExternalMethod inherits from Acquisition.Explicit and not (Acquisition.Implicit). This means, they cannot implicitly access acquired objects. Provision to access getBookmarkableURLs was still missing.
I have just pushed a fix to branch acquire_getBookmarkableURLS of repository https://github.com/zopefoundation/Products.ExternalMethod. I am too lazy to set up the environment to check whether this fix resolves the issue. Maybe, you can make this check.
Zope 4.0: ExternalMethods work (can be created, imported and run) but cannot be accessed in the ZMI:
Worked with Zope 4.0b9 and b10. Same Version of Products.ExternalMethod: 4.1 (same problem with 4.2)
The text was updated successfully, but these errors were encountered: