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
The migration seems to do the right things based on the naming of the operator. The UI generates and uses larger... which feels broken from the naming point of view.
The text was updated successfully, but these errors were encountered:
zopyx
changed the title
[Topic->Collection] migration issue with relative dates
[Topic->Collection] migration issue with relative dates (or an UI inconsistency)
Jun 26, 2020
We have the following
ATFriendlyDateCriteria
for filtering by effective for up to 365 days in the past (operation=less
).The migration code converts this to
lessThanRelativeDate
.https://github.com/plone/plone.app.contenttypes/blob/master/plone/app/contenttypes/migration/topics.py#L265-L274
Recreating the same criteria through UI using "within last..days" produces a query with
largerThanRelativeDate
.It is unclear what the correct solution would be. See
https://community.plone.org/t/plone-app-querystring-collection-within-last-n-days-translated-to-largerthanrelativedate/12474/3
The migration seems to do the right things based on the naming of the operator. The UI generates and uses
larger...
which feels broken from the naming point of view.The text was updated successfully, but these errors were encountered: