plone / plone/plone.app.querystring

Syntax error with "expiration date - before date - today"

Open
#75 0 comments 0 reactions 1 assignee View on GitHub

@datakurre is already working on this.

Since Apr 3, 2017.

01 type: bug
Dominant language
Python
Stars
2
Forks
25
Avg merge
1d 16h
Merged PRs (30d)
2

Description

I have not confirmed this yet.

@@querybuilder_html_results

SyntaxError

2017-04-03::-1

Traceback (innermost last):

Module ZPublisher.Publish, line 138, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 48, in call_object
Module plone.app.querystring.querybuilder, line 97, in html_results
Module plone.app.querystring.querybuilder, line 88, in __call__
Module plone.app.querystring.querybuilder, line 159, in _makequery
Module Products.CMFPlone.CatalogTool, line 391, in searchResults
Module Products.ZCatalog.ZCatalog, line 604, in searchResults
Module Products.ZCatalog.Catalog, line 1072, in searchResults
Module Products.ZCatalog.Catalog, line 549, in search
Module Products.PluginIndexes.common.UnIndex, line 353, in _apply_index
Module Products.CMFPlone.patches.dateIndexPatch, line 13, in _convert
Module Products.PluginIndexes.DateIndex.DateIndex, line 160, in _convert
Module DateTime.DateTime, line 443, in __init__
Module DateTime.DateTime, line 754, in _parse_args
Module DateTime.DateTime, line 990, in _parse
SyntaxError: 2017-04-03::-1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.