Closed wlang42 closed 8 months ago
There a two things with that:
The error message should make it to the user interface
In that specific case, the error message is wrong (and misleading). It says that the ZSQL Method is not tested, which is not the case.
Addressing the second point: The Search Interface needs the _col
Attribute of the searchable object (ie ZSQL Method), which is assumed to be created when using the "Test" tab for it.
But, the "Test" tab does not create the _col
attribute anymore.
It is created only, if the Shared.DC.ZRDB.DA.DA.__call__
method is called with the test__
argument set to a True
like value. But thats currently not the case when called from DA.manage_zmi_test
.
BUG/PROBLEM REPORT / FEATURE REQUEST
What I did:
Added a ZSQLMethod
fullname_sql
withselect 'Willi Langenenberger' FULLNAME from dual
Tested it with the "Test" tab
What I expect to happen:
What actually happened:
What version of Python and Zope/Addons I am using:
Zope-5.9 Python-3.9.5 Products.ZSQLMethods-4.0
Additional Info:
Error message in Log:
Full Traceback: