[ 
https://jira.duraspace.org/browse/DS-951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=24266#comment-24266
 ] 

Andrea Schweer commented on DS-951:
-----------------------------------

Here's a new patch; the one I uploaded earlier today accidentally changed 
global state. Hardy offered to do some testing on Oracle.

This patch mostly fixes the problem for me; however there is still some 
mismatch in information because the dates in the database are in UTC but the 
dates in the logfiles are in local time. Since we're currently 13 hours off 
UTC, items made live very early in the month local time can be counted as the 
previous month when going by the accession time from the database. It doesn't 
help that the admin statistics mix information from both sources (logfiles and 
database). 

My patch doesn't address the timezone issue but I may look into this further.
                
> Monthly stats report ignores items archived on first and last day of the month
> ------------------------------------------------------------------------------
>
>                 Key: DS-951
>                 URL: https://jira.duraspace.org/browse/DS-951
>             Project: DSpace
>          Issue Type: Bug
>          Components: DSpace API
>    Affects Versions: 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2, 1.8.0
>            Reporter: Andrea Schweer
>            Assignee: Andrea Schweer
>         Attachments: 951.diff
>
>
> The monthly stats report gives, in the Archive Information section, the 
> number of items archived in that month, both as a total and broken down by 
> item types. These numbers don't include items archived on the first or last 
> day of the month. The reason is that the SQL query used to determine these 
> numbers excludes the start and end dates, while the code is run using the 
> first and the last day of the month as the start/end dates.
> Patch against *1.7.2* is attached.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.duraspace.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to