Ticket #1369 (closed defect: fixed)

Opened 13 months ago

Last modified 13 months ago

ALM application not pulling PLoS Reports data correctly

Reported by: rcave Owned by: rcave
Priority: critical Milestone: 0.9.3_rc3
Component: ambra Version: 0.9.3
Keywords: Cc:

Description

10.1371/journal.pcbi.0020004 is pulling two citations from Counter. Also, PLoS Reports has the correct information for all months [1-12] in the database but ALM is only pulling a single month for each year.

* {:uri=>"http://plosreports.localdomain/services/rest?method=usage.stats&article=pcbi.0020004", 
:views=>[{:html_views=>"79", :month=>"12", :year=>"2005", :pdf_views=>"64", :xml_views=>0}, 
{:html_views=>"24", :month=>"12", :year=>"2006", :pdf_views=>"6", :xml_views=>"1"}, 
{:html_views=>"64", :month=>"12", :year=>"2007", :pdf_views=>"17", :xml_views=>"1"}, 
{:html_views=>"56", :month=>"2", :year=>"2008", :pdf_views=>"19", :xml_views=>"2"}]}
* {:uri=>"http://plosreports.localdomain/services/rest?method=usage.stats&article=pcbi.0020004", 
:views=>[{:html_views=>"79", :month=>"12", :year=>"2005", :pdf_views=>"64", :xml_views=>0}, 
{:html_views=>"24", :month=>"12", :year=>"2006", :pdf_views=>"6", :xml_views=>"1"}, 
{:html_views=>"64", :month=>"12", :year=>"2007", :pdf_views=>"17", :xml_views=>"1"}, 
{:html_views=>"56", :month=>"2", :year=>"2008", :pdf_views=>"19", :xml_views=>"2"}]}

Change History

Changed 13 months ago by josowski

  • owner changed from josowski to rcave
  • status changed from new to verify
  • resolution set to fixed

The drupal plugin wasn't returning all the data. There was a minor bug in how the result array was being built. This is corrected in r1546 in the SVN.Plos repository.

Changed 13 months ago by rcave

  • status changed from verify to closed
Note: See TracTickets for help on using tickets.