[ 
http://jira.dspace.org/jira/browse/DS-44?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10517#action_10517
 ] 

Stuart Lewis commented on DS-44:
--------------------------------

More data from SF issue: 2541435

http://sourceforge.net/tracker/?func=detail&atid=119984&aid=2541435&group_id=19984


 Date: 2009-03-31 22:27
Sender: dishimitsu

Hi Stuart,

Thanks for the fix. I actually opted to adjust the beforeDate and
afterDate functions to be exclusive. Same effect, since it only gets called
twice, and the other time doesn't matter if it's inclusive/exclusive.

Thanks,


Date: 2009-03-27 01:55
Sender: stuartlewisProject Admin

Hi Daniel

Thanks for submitting this bug report. Please could you try the attached
file and see if it fixes the issue.

(beforeDate and afterDate are inclusive, so if using them to test to see
if something falls outside of a date range, then you need to use !afterDate
instead of beforeDate, and !beforeDate instead of afterDate).

Thanks,


Stuart


> Monthly statistics skip first and last of month - ID: 2541435
> -------------------------------------------------------------
>
>                 Key: DS-44
>                 URL: http://jira.dspace.org/jira/browse/DS-44
>             Project: DSpace 1.x
>          Issue Type: Bug
>    Affects Versions: 1.5.1
>            Reporter: Charles Kiplagat
>
> Adding up the monthly view totals for a given item in
> /dspace/reports/report-year-month.html files yields less than the aggregate
> total for the item in the current report-general-year-month-day.html.
> This appears to be an issue with the logLine.beforeDate and
> logLine.afterDate functions in LogLine.java as they are used in
> LogAnalyser.java
> They return true when the dates are equal. Which forces the function
> processLogs to skip over the log line in LogAnalyser.java for the startDate
> and endDate (first and last of month).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to