[
https://issues.apache.org/jira/browse/PIVOT-978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16286432#comment-16286432
]
Roger Whitcomb commented on PIVOT-978:
--------------------------------------
Fixed a new problem introduced with changes to PIVOT-999 that also tried to
address this issue (by setting a Spinner data list that has the defined
Gregorian calendar limits to it):
Sending core\src\org\apache\pivot\beans\BXMLSerializer.java
Sending
wtk-terra\src\org\apache\pivot\wtk\skin\terra\TerraCalendarButtonSkin.java
Sending
wtk-terra\src\org\apache\pivot\wtk\skin\terra\TerraCalendarSkin.java
Transmitting file data ...done
Committing transaction...
Committed revision 1817805.
> Possible to get calendar dates in year 10000 and beyond
> -------------------------------------------------------
>
> Key: PIVOT-978
> URL: https://issues.apache.org/jira/browse/PIVOT-978
> Project: Pivot
> Issue Type: Bug
> Components: wtk-terra
> Affects Versions: 2.0.4, 2.1
> Environment: ALL
> Reporter: Roger Whitcomb
> Assignee: Roger Whitcomb
> Priority: Minor
> Fix For: 2.1, 2.0.5
>
>
> Summary of the steps to reproduce (from QA tester of our application):
> 1. click into the year field - it seems not possible to change the year,
> however:
> 2. press 1 and a date of 10000 is entered
> 3. press 2 and it's 20000
> 4. press 3 and it's 30000 (if you press 3 first, it could be 3000 and so it
> would be valid)
> 5. you get a error message e.g. Invalid year: 10000
> 6. nevertheless you can change the year with the arrow keys/buttons but for
> every change you get the error message.
> You also get the error message if you go to the upper and lower bounds of the
> calender, which is the year 1582 and 10000 (both exclusive) by means of arrow
> keys / arrow buttons. You can change the year into the wrong direction if you
> are willing to confirm the error message on every keypress. And if you want
> to change the year back to some meaningful value, you have to confirm the
> error message again, until you hit a valid year. If in such a invalid year
> (e.g 1580), you can click on a day and the date will change to that date in
> 1583.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)