Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken visualizations of single articles #24

Merged
merged 2 commits into from
Sep 5, 2014
Merged

Fix broken visualizations of single articles #24

merged 2 commits into from
Sep 5, 2014

Conversation

mfenner
Copy link
Member

@mfenner mfenner commented Sep 5, 2014

Since the ALM API has changed the format of how we return historical data in ALM 3.0, the visualization for single articles is broken. This only affects the citations chart.

The temporary workaround is to properly handle nil. We can later refactor to use the new monthly history data, but first have to switch to the v5 API for that.

Unit tests confirm the expected behaviour.

@jure
Copy link
Contributor

jure commented Sep 5, 2014

Cool, I guess this is a case in point for the specs/mocks to work with live(r) data.

jure added a commit that referenced this pull request Sep 5, 2014
Fix broken visualizations of single articles
@jure jure merged commit 40b01f9 into lagotto:master Sep 5, 2014
@jure jure deleted the sort branch September 5, 2014 08:21
@mfenner
Copy link
Member Author

mfenner commented Sep 5, 2014

I was thinking the same :). The alternative approach that I have taken so far is having good error reporting from the live application. And as you know I am working on that one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants