[
http://mifosforge.jira.com/browse/MIFOS-2977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jakub Sławiński resolved MIFOS-2977.
------------------------------------
Resolution: Fixed
Fixed in commit e7d48684eda83ba8452103688f3d6f6afc6d8dda.
> Date additional field doesn't validate for leading digits, causing NPE
> ----------------------------------------------------------------------
>
> Key: MIFOS-2977
> URL: http://mifosforge.jira.com/browse/MIFOS-2977
> Project: mifos
> Issue Type: Bug
> Components: Configuration
> Affects Versions: Shamim D
> Reporter: jbrewster
> Assignee: Jakub Sławiński
> Priority: Major
> Fix For: Shamim D
>
> Attachments: screenshot-1.jpg
>
>
> Issue MIFOS-1963 reintroduced the Date type additional field.
> User is able to input date values that have too many digits and make no
> logical sense (e.g. NewDate: 00023/010/2030). This eventually cause errors
> trying to later edit the field that has invalid data. Haven't found a way to
> recover from this condition once it's introduced to a specific record without
> doing editing directly to the database.
> Repro steps:
> 1. create a new additional field with data type of "date".
> 2. create new entity that includes addition field, e.g. new office.
> 3. Enter a valid date, save, then edit to replace with a silly date:
> 00023/010/2030
> 4. click preview.
> Get attached NPE report. Continue to get that error for that center after
> exiting page, logging of browser, etc.
> expected result:
> Preview is blocked until value entered meets dd/mm/yyyy form.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mifosforge.jira.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues