Open forest opened 11 years ago
I'm having the same issue. It seems tags v0.5.4
to v0.5.6
are missing. When I do a compare view from 0.5.3 to master I can't really see anything out of the ordinary.
edit
I just looked into this some more. It seems the problem starts at version v0.5.8
, again, looking at the compare view, the only thing I see that could be causing this is the bundle update
that happened between 0.5.8 and 0.5.10. I was unable to test 0.5.9, it failed to load for me.
Can you get the story by doing the following:
PivotalTracker::Client.token = "<token>"
project = PivotalTracker::Project.find(29317) # this is a public project
project.stories.find(32808269)
It could be that Pivotal changed how the Iteration.done API call returns data.
I worked on this this weekend by working on updating our Fakeweb to use VCR instead of StaleFish. It's a work in progress, but hopefully I can get some time to look at it next weekend.
You guys should be able to use an earlier version (0.5.6 or 0.5.8), as there were no urgent changes between those versions and 0.5.10.
I've got the same problem. Project.find
returns the story correctly, but Iteration.current.stories
returns a story with empty attributes.
The most significant changes between 0.5.8 and 0.5.10 are in Gemfile.lock
. It switched from using happymapper
to using nokogiri-happymapper
. This is not showing up in the compare view (!?) but if you look at the Gemfile.lock
in 0.5.8 and in master you can see the difference.
I'm not 100% sure this is the issue, but it seems like something work investigating.
Failing spec added here: https://github.com/sbleon/pivotal-tracker/blob/iteration_stories/spec/pivotal-tracker/iteration_spec.rb#L29
I'm switching back to 0.5.8 for now.
Going to take a look at this today. Will keep you updated if I can figure out what happened.
@jsmestad Some background, I think the 0.5.9 version was a failed attempt to add jruby support, and the nokogiri-happymapper change was not properly reverted.
I'm having the same problem. When will it be fixed??
It will get fixed when a motivated user of the gem decides to fix it :-) . 0.5.8 works well enough for my purposes at the moment.
If I were going to tackle this, I'd probably start by looking at the specs to see which features were introduced between 0.5.8 (which works as far as I can tell) and 0.5.10. If there are useful features, I'd re-implement/backport/cherry-pick them into a new branch based on 0.5.8.
Once that was done, I'd submit a pull request and encourage @jsmestad to make a new release and yank 0.5.10 (removing it from rubygems.org).
On Wed, Mar 27, 2013 at 4:06 AM, Junichi Ito notifications@github.comwrote:
I'm having the same problem. When will it be fixed??
— Reply to this email directly or view it on GitHubhttps://github.com/jsmestad/pivotal-tracker/issues/67#issuecomment-15509624 .
I am open to yanking it down once we get this patch in place :)
Regards,
justin.smestad@gmail.com
On Thu, Mar 28, 2013 at 11:27 AM, sbleon notifications@github.com wrote:
It will get fixed when a motivated user of the gem decides to fix it :-) . 0.5.8 works well enough for my purposes at the moment.
If I were going to tackle this, I'd probably start by looking at the specs to see which features were introduced between 0.5.8 (which works as far as I can tell) and 0.5.10. If there are useful features, I'd re-implement/backport/cherry-pick them into a new branch based on 0.5.8.
Once that was done, I'd submit a pull request and encourage @jsmestad to make a new release and yank 0.5.10 (removing it from rubygems.org).
On Wed, Mar 27, 2013 at 4:06 AM, Junichi Ito notifications@github.comwrote:
I'm having the same problem. When will it be fixed??
— Reply to this email directly or view it on GitHub< https://github.com/jsmestad/pivotal-tracker/issues/67#issuecomment-15509624>
.
— Reply to this email directly or view it on GitHubhttps://github.com/jsmestad/pivotal-tracker/issues/67#issuecomment-15602181 .
The pull request #71 is superceded by #88 and should be closed.
This fix(has_many :stories, Story, :xpath => '//stories'
) seems to be required for activity.rb
https://github.com/jsmestad/pivotal-tracker/blob/master/lib/pivotal-tracker/activity.rb#L42
Otherwise, stories in activities are all empty.
This same code works just fine in 0.5.6. The story should be: