plone.restapi icon indicating copy to clipboard operation
plone.restapi copied to clipboard

Published content without effective date set does not show up in @navigation -> items

Open zopyx opened this issue 3 years ago • 3 comments

Plone 6.0.0b3, plone.restapi 8.30.0

Full report:

https://community.plone.org/t/plone-restapi-navigation-items-empty-for-migrated-content-items-visible-after-editing-them/15759/2

Published subobjects without effective date set are not available in @navigation -> items

zopyx avatar Oct 18 '22 16:10 zopyx

@zopyx What value of effective is indexed for the item that is not included? It should be indexed with DateTime(1970, 0) if no effective date is set, but maybe something is going wrong there: https://github.com/plone/plone.dexterity/blob/master/plone/dexterity/content.py#L591

davisagli avatar Oct 19 '22 05:10 davisagli

Since this is not reproducible with the the default Plone setup: Whats steps are needed? Just removal of plone.dublincore is not enough it seems.

jensens avatar Oct 19 '22 09:10 jensens

Yes, that's one of these weird errors. I compared the instance dicts of objects after manual vs. programmatic modifications and could not find an error.

zopyx avatar Oct 19 '22 15:10 zopyx