[ 
https://issues.apache.org/jira/browse/OFBIZ-7156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ravi Lodhi updated OFBIZ-7156:
------------------------------
    Attachment: OFBIZ-7156_trunk.patch

Cause:
CustomTimePeriod entity have fromDate and thruDate fields of type 
ava.sql.Timestamp, TIMESTAMP. In the problem code using getDate() throwing 
exception that java.lang.ClassCastException: java.sql.Timestamp cannot be cast 
to java.sql.Date.

Replaced getDate() with getTimestamp() to fix this and uploaded patch for 
review.

> Free marker template error on Edit Custom Time Periods for Child Periods
> ------------------------------------------------------------------------
>
>                 Key: OFBIZ-7156
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7156
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>    Affects Versions: Trunk
>            Reporter: Ravi Lodhi
>            Assignee: Ravi Lodhi
>            Priority: Minor
>         Attachments: OFBIZ-7156_trunk.patch
>
>
> Step to regenerate:
> 1) Go to Accounting -> Global GL Settings -> Edit Custom Time Periods.
> 2) Free marker error under Child Periods section.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to