Hi!
Indexes shipped with ZCatalog 3 no longer work with None values:
https://github.com/zopefoundation/Products.ZCatalog/commit/c378cdab2fb8997a…
I'm not sure if the old behavior did follow a well defined policy, I
just found this explanation:
http://stackoverflow.com/a/11224076
I think in general the policy was to ignore None values if the index
can't handle them. And AFAICS that's a much better policy than raising
errors as ZCatalog 3 does.
There is nothing wrong about None values returned by content attributes.
Often they have a special meaning like not initialized, not selected,
not specified. In most cases it wouldn't cause trouble if None is not
indexed, but it causes trouble if indexing raises errors.
Adjusting code that implements special behavior for None, adjusting
persistent attributes that contain None or adding wrappers that modify
indexed attributes is a lot of work.
I propose to ignore None values instead of raising errors.
Cheers,
Yuppie
This is the summary for test reports received on the
zope-tests list between 2015-02-26 00:00:00 UTC and 2015-02-27 00:00:00 UTC:
See the footnotes for test reports of unsuccessful builds.
An up-to date view of the builders is also available in our
buildbot documentation:
http://docs.zope.org/zopetoolkit/process/buildbots.html#the-nightly-builds
Reports received
----------------
Successful - zopetoolkit_trunk - Build # 935
winbot / ZODB_dev py_265_win32
winbot / ZODB_dev py_265_win64
[1] winbot / ZODB_dev py_270_win32
[2] winbot / ZODB_dev py_270_win64
winbot / ztk_10 py_254_win32
winbot / ztk_10 py_265_win32
winbot / ztk_10 py_265_win64
winbot / ztk_11 py_254_win32
winbot / ztk_11 py_265_win32
winbot / ztk_11 py_265_win64
winbot / ztk_11 py_270_win32
winbot / ztk_11 py_270_win64
Non-OK results
--------------
[1] FAILED winbot / ZODB_dev py_270_win32
https://mail.zope.org/pipermail/zope-tests/2015-February/087100.html
[2] FAILED winbot / ZODB_dev py_270_win64
https://mail.zope.org/pipermail/zope-tests/2015-February/087101.html
This is the summary for test reports received on the
zope-tests list between 2015-02-25 00:00:00 UTC and 2015-02-26 00:00:00 UTC:
See the footnotes for test reports of unsuccessful builds.
An up-to date view of the builders is also available in our
buildbot documentation:
http://docs.zope.org/zopetoolkit/process/buildbots.html#the-nightly-builds
Reports received
----------------
Successful - zopetoolkit_trunk - Build # 934
winbot / ZODB_dev py_265_win32
winbot / ZODB_dev py_265_win64
[1] winbot / ZODB_dev py_270_win32
[2] winbot / ZODB_dev py_270_win64
winbot / ztk_10 py_254_win32
winbot / ztk_10 py_265_win32
winbot / ztk_10 py_265_win64
winbot / ztk_11 py_254_win32
winbot / ztk_11 py_265_win32
winbot / ztk_11 py_265_win64
winbot / ztk_11 py_270_win32
winbot / ztk_11 py_270_win64
Non-OK results
--------------
[1] FAILED winbot / ZODB_dev py_270_win32
https://mail.zope.org/pipermail/zope-tests/2015-February/087087.html
[2] FAILED winbot / ZODB_dev py_270_win64
https://mail.zope.org/pipermail/zope-tests/2015-February/087088.html
This is the summary for test reports received on the
zope-tests list between 2015-02-24 00:00:00 UTC and 2015-02-25 00:00:00 UTC:
See the footnotes for test reports of unsuccessful builds.
An up-to date view of the builders is also available in our
buildbot documentation:
http://docs.zope.org/zopetoolkit/process/buildbots.html#the-nightly-builds
Reports received
----------------
Successful - zopetoolkit_trunk - Build # 933
winbot / ZODB_dev py_265_win32
winbot / ZODB_dev py_265_win64
[1] winbot / ZODB_dev py_270_win32
[2] winbot / ZODB_dev py_270_win64
winbot / ztk_10 py_254_win32
winbot / ztk_10 py_265_win32
winbot / ztk_10 py_265_win64
winbot / ztk_11 py_254_win32
winbot / ztk_11 py_265_win32
winbot / ztk_11 py_265_win64
winbot / ztk_11 py_270_win32
winbot / ztk_11 py_270_win64
Non-OK results
--------------
[1] FAILED winbot / ZODB_dev py_270_win32
https://mail.zope.org/pipermail/zope-tests/2015-February/087074.html
[2] FAILED winbot / ZODB_dev py_270_win64
https://mail.zope.org/pipermail/zope-tests/2015-February/087075.html
This is the summary for test reports received on the
zope-tests list between 2015-02-23 00:00:00 UTC and 2015-02-24 00:00:00 UTC:
See the footnotes for test reports of unsuccessful builds.
An up-to date view of the builders is also available in our
buildbot documentation:
http://docs.zope.org/zopetoolkit/process/buildbots.html#the-nightly-builds
Reports received
----------------
Successful - zopetoolkit_trunk - Build # 932
winbot / ZODB_dev py_265_win32
winbot / ZODB_dev py_265_win64
[1] winbot / ZODB_dev py_270_win32
[2] winbot / ZODB_dev py_270_win64
winbot / ztk_10 py_254_win32
winbot / ztk_10 py_265_win32
winbot / ztk_10 py_265_win64
winbot / ztk_11 py_254_win32
winbot / ztk_11 py_265_win32
winbot / ztk_11 py_265_win64
winbot / ztk_11 py_270_win32
winbot / ztk_11 py_270_win64
Non-OK results
--------------
[1] FAILED winbot / ZODB_dev py_270_win32
https://mail.zope.org/pipermail/zope-tests/2015-February/087061.html
[2] FAILED winbot / ZODB_dev py_270_win64
https://mail.zope.org/pipermail/zope-tests/2015-February/087062.html
This is the summary for test reports received on the
zope-tests list between 2015-02-22 00:00:00 UTC and 2015-02-23 00:00:00 UTC:
See the footnotes for test reports of unsuccessful builds.
An up-to date view of the builders is also available in our
buildbot documentation:
http://docs.zope.org/zopetoolkit/process/buildbots.html#the-nightly-builds
Reports received
----------------
Successful - zopetoolkit_trunk - Build # 931
winbot / ZODB_dev py_265_win32
winbot / ZODB_dev py_265_win64
[1] winbot / ZODB_dev py_270_win32
[2] winbot / ZODB_dev py_270_win64
winbot / ztk_10 py_254_win32
winbot / ztk_10 py_265_win32
winbot / ztk_10 py_265_win64
winbot / ztk_11 py_254_win32
winbot / ztk_11 py_265_win32
winbot / ztk_11 py_265_win64
winbot / ztk_11 py_270_win32
winbot / ztk_11 py_270_win64
Non-OK results
--------------
[1] FAILED winbot / ZODB_dev py_270_win32
https://mail.zope.org/pipermail/zope-tests/2015-February/087048.html
[2] FAILED winbot / ZODB_dev py_270_win64
https://mail.zope.org/pipermail/zope-tests/2015-February/087049.html
This is the summary for test reports received on the
zope-tests list between 2015-02-21 00:00:00 UTC and 2015-02-22 00:00:00 UTC:
See the footnotes for test reports of unsuccessful builds.
An up-to date view of the builders is also available in our
buildbot documentation:
http://docs.zope.org/zopetoolkit/process/buildbots.html#the-nightly-builds
Reports received
----------------
Successful - zopetoolkit_trunk - Build # 930
winbot / ZODB_dev py_265_win32
winbot / ZODB_dev py_265_win64
[1] winbot / ZODB_dev py_270_win32
[2] winbot / ZODB_dev py_270_win64
winbot / ztk_10 py_254_win32
winbot / ztk_10 py_265_win32
winbot / ztk_10 py_265_win64
winbot / ztk_11 py_254_win32
winbot / ztk_11 py_265_win32
winbot / ztk_11 py_265_win64
winbot / ztk_11 py_270_win32
winbot / ztk_11 py_270_win64
Non-OK results
--------------
[1] FAILED winbot / ZODB_dev py_270_win32
https://mail.zope.org/pipermail/zope-tests/2015-February/087035.html
[2] FAILED winbot / ZODB_dev py_270_win64
https://mail.zope.org/pipermail/zope-tests/2015-February/087036.html
This is the summary for test reports received on the
zope-tests list between 2015-02-20 00:00:00 UTC and 2015-02-21 00:00:00 UTC:
See the footnotes for test reports of unsuccessful builds.
An up-to date view of the builders is also available in our
buildbot documentation:
http://docs.zope.org/zopetoolkit/process/buildbots.html#the-nightly-builds
Reports received
----------------
Successful - zopetoolkit_trunk - Build # 929
winbot / ZODB_dev py_265_win32
winbot / ZODB_dev py_265_win64
[1] winbot / ZODB_dev py_270_win32
[2] winbot / ZODB_dev py_270_win64
winbot / ztk_10 py_254_win32
winbot / ztk_10 py_265_win32
winbot / ztk_10 py_265_win64
winbot / ztk_11 py_254_win32
winbot / ztk_11 py_265_win32
winbot / ztk_11 py_265_win64
winbot / ztk_11 py_270_win32
winbot / ztk_11 py_270_win64
Non-OK results
--------------
[1] FAILED winbot / ZODB_dev py_270_win32
https://mail.zope.org/pipermail/zope-tests/2015-February/087022.html
[2] FAILED winbot / ZODB_dev py_270_win64
https://mail.zope.org/pipermail/zope-tests/2015-February/087023.html
This is the summary for test reports received on the
zope-tests list between 2015-02-19 00:00:00 UTC and 2015-02-20 00:00:00 UTC:
See the footnotes for test reports of unsuccessful builds.
An up-to date view of the builders is also available in our
buildbot documentation:
http://docs.zope.org/zopetoolkit/process/buildbots.html#the-nightly-builds
Reports received
----------------
Successful - zopetoolkit_trunk - Build # 928
winbot / ZODB_dev py_265_win32
winbot / ZODB_dev py_265_win64
[1] winbot / ZODB_dev py_270_win32
[2] winbot / ZODB_dev py_270_win64
winbot / ztk_10 py_254_win32
winbot / ztk_10 py_265_win32
winbot / ztk_10 py_265_win64
winbot / ztk_11 py_254_win32
winbot / ztk_11 py_265_win32
winbot / ztk_11 py_265_win64
winbot / ztk_11 py_270_win32
winbot / ztk_11 py_270_win64
Non-OK results
--------------
[1] FAILED winbot / ZODB_dev py_270_win32
https://mail.zope.org/pipermail/zope-tests/2015-February/087009.html
[2] FAILED winbot / ZODB_dev py_270_win64
https://mail.zope.org/pipermail/zope-tests/2015-February/087010.html
This is the summary for test reports received on the
zope-tests list between 2015-02-18 00:00:00 UTC and 2015-02-19 00:00:00 UTC:
See the footnotes for test reports of unsuccessful builds.
An up-to date view of the builders is also available in our
buildbot documentation:
http://docs.zope.org/zopetoolkit/process/buildbots.html#the-nightly-builds
Reports received
----------------
Successful - zopetoolkit_trunk - Build # 927
winbot / ZODB_dev py_265_win32
winbot / ZODB_dev py_265_win64
[1] winbot / ZODB_dev py_270_win32
[2] winbot / ZODB_dev py_270_win64
winbot / ztk_10 py_254_win32
winbot / ztk_10 py_265_win32
winbot / ztk_10 py_265_win64
winbot / ztk_11 py_254_win32
winbot / ztk_11 py_265_win32
winbot / ztk_11 py_265_win64
winbot / ztk_11 py_270_win32
winbot / ztk_11 py_270_win64
Non-OK results
--------------
[1] FAILED winbot / ZODB_dev py_270_win32
https://mail.zope.org/pipermail/zope-tests/2015-February/086996.html
[2] FAILED winbot / ZODB_dev py_270_win64
https://mail.zope.org/pipermail/zope-tests/2015-February/086997.html