Story Arcs missing from Issue Results

Avatar image for matthewlupo
matthewlupo

29

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

It seems the story_arc_credits is not returning anything. For example, see

http://www.comicvine.com/api/issue/4000-206568/?api_key=[YOUR_API_KEY]&format=json

This should have one story arc of Brightest Day.

Or Issue ID: 372346 is supposed to have Rise of the Third Army.

Avatar image for cbanack
cbanack

124

Forum Posts

199

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

@matthewlupo: Interesting: the story_arc_credits are only empty when you don't specify a "field_list" in your url.

If you add "&field_list=story_arc_credits" to your URL, then it seems to work.

Probably @frobie will want to know about this.

Avatar image for matthewlupo
matthewlupo

29

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

@frobie Thanks to @cbanack's discovery I think I found the problem. story_arc_credits only returns as empty if you are also returning the person_credits. So it probably has to do with the changes that were made to the person_credits.

So if for instance you add "&field_list=story_arc_credits,name" it will return the story arcs. But if you add "&field_list=story_arc_credits,name,person_credits", then you get all information requested but the story arcs is empty.

Avatar image for porkbun
porkbun

61

Forum Posts

533

Wiki Points

0

Followers

Reviews: 1

User Lists: 2

#4 porkbun  Staff

Fix for this will be pushed on next release.

Avatar image for matthewlupo
matthewlupo

29

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

Great to hear, thanks!

@frobie Also, I have a feature request, if it's possible. I seem to remember that when viewing a story arc on the previous version of the website, it would give an order for issues of the arc. Is that a value that was stored, or was it generated based on the cover_date of the comic?

If it is a stored value, is that something that can be added to the story_arc_credits dictionary in the API for an issue resource?

Avatar image for cbanack
cbanack

124

Forum Posts

199

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#6  Edited By cbanack

@frobie, @matthewlupo: Note that this bug is also happening for the "team_credits" in the "issue" resource, as well.

The following does not show teams: http://www.comicvine.com/api/issue/4000-367696/?api_key=XXX&format=xml

But if you append "&field_list=team_credits" onto the end, then it does show them.

Avatar image for matthewlupo
matthewlupo

29

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#7  Edited By matthewlupo

@cbanack This also appears to be related to the person_credits being part of the return info.

Avatar image for porkbun
porkbun

61

Forum Posts

533

Wiki Points

0

Followers

Reviews: 1

User Lists: 2

#8 porkbun  Staff

That case with the team_credits in issues will be fixed as well. Any call that had an association with an extra field besides the default set of api_detail_url, id, name, and site_detail_url would ruin it for the other associations. I would not have noticed this, thanks for the heads up @cbanack & @matthewlupo.

I will get a more definite answer later, but based on what I see on the story arcs page and in the db, there is no indication of issue ordering in a story arc. It may just be based on the cover date.

Avatar image for matthewlupo
matthewlupo

29

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#9  Edited By matthewlupo

@frobie No problem! Glad to help out where we can :D

Thanks for looking into the story arcs ordering.