A clear and concise description of what the bug is.
Steps to reproduce the behavior:
Run the following two queries on demo or the starter site:
+contentType:Activity +modDate:[20190101000000 to 20191231000000]
+contentType:Activity +modDate:[20190201000000 to 20191231000000]
Note - the only difference between these queries is the fifth digit (second digit of the month) in the first date in the range - it's 1 in the the first query and 2 in the second query.
Result: The first query returns 9 results, but the second query returns no results.
Expected behavior
The result of a query using a lowercase to should be consistent. This means it should do either of the following:
Always fail, or
Work the same as using an uppercase TO.
Screenshots
Results of query #1:
Results of query #2:
Desktop (please complete the following information):
OS: Win 10 Pro
Browser: Chrome
Version: dotCMS 5.2.8
Additional context
There's an easy workaround for this (just change the to to uppercase TO), so this isn't a high priority.
But I'm submitting it both to document that it's a known issue, and because there might be a very simple fix to prevent customers from running in to this problem (just uppercase the to) which we could consider making the next time we're in this code.
Acceptance Criteria
Match the design
Work in all the supported browsers (don't forget IE11 and iPad)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug
A clear and concise description of what the bug is.
Steps to reproduce the behavior:
Run the following two queries on demo or the starter site:
+contentType:Activity +modDate:[20190101000000 to 20191231000000]
+contentType:Activity +modDate:[20190201000000 to 20191231000000]
Note - the only difference between these queries is the fifth digit (second digit of the month) in the first date in the range - it's
1
in the the first query and2
in the second query.Result: The first query returns 9 results, but the second query returns no results.
Expected behavior
The result of a query using a lowercase
to
should be consistent. This means it should do either of the following:TO
.Screenshots
Results of query #1:![image](https://user-images.githubusercontent.com/13456955/81318892-c88b4380-9043-11ea-9917-98880006577d.png)
Results of query #2:![image](https://user-images.githubusercontent.com/13456955/81318969-df319a80-9043-11ea-9e78-fc6c65912242.png)
Desktop (please complete the following information):
Additional context
There's an easy workaround for this (just change the
to
to uppercaseTO
), so this isn't a high priority.But I'm submitting it both to document that it's a known issue, and because there might be a very simple fix to prevent customers from running in to this problem (just uppercase the
to
) which we could consider making the next time we're in this code.Acceptance Criteria