Skip Menu |

This queue is for tickets about the Net-Trac CPAN distribution.

Report information
The Basics
Id: 57063
Status: open
Priority: 0/
Queue: Net-Trac

People
Owner: Nobody in particular
Requestors: misc [...] zarb.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.15
Fixed in: (no value)



Several test fail on my server : t/keywords.t ok 18 - Got 2 history entries. not ok 19 - Got updated status # Failed test 'Got updated status' # at t/keywords.t line 42. # got: 'new' # expected: 'closed' ok 20 - I set the keywords t/search.t ok 13 - Status = closed not ok 14 - Set status # Failed test 'Set status' # at t/search.t line 36. # got: 'new' # expected: 'closed' ok 15 - Net::Trac::Ticket->can('create') ok 29 - Status = reopened not ok 30 - Set status # Failed test 'Set status' # at t/search.t line 56. # got: 'new' # expected: 'reopened' ok 31 - The object isa Net::Trac::TicketSearch ok 55 not ok 56 - Got two results # Failed test 'Got two results' # at t/search.t line 88. # got: '3' # expected: '2' ok 57 - The object isa Net::Trac::Ticket ok 58 - The object isa Net::Trac::Ticket not ok 59 - Got ticket \#2 # Failed test 'Got ticket \#2' # at t/search.t line 91. # got: 'Summary #1' # expected: 'Summary #2' not ok 60 - Got ticket \#3 # Failed test 'Got ticket \#3' # at t/search.t line 92. # got: 'Summary #2' # expected: 'Summary moose #3' # Looks like you failed 5 tests of 60. I run trac 0.11.7. After looking at code, it seems the form changed, and you need to set the status using action_resolve_resolve_resolution and action.
Subject: Re: [rt.cpan.org #57063]
Date: Sat, 8 May 2010 15:03:02 -0400
To: Michael Scherer via RT <bug-Net-Trac [...] rt.cpan.org>
From: Jesse Vincent <jesse [...] fsck.com>
Can you easily pull the latest version from github.com/bestpractical/net-trac and tell us if it sorts things out for you? On Thu, Apr 29, 2010 at 08:31:54PM -0400, Michael Scherer via RT wrote: Show quoted text
> Thu Apr 29 20:31:54 2010: Request 57063 was acted upon. > Transaction: Ticket created by MISC > Queue: Net-Trac > Subject: (No subject given) > Broken in: 0.15 > Severity: Normal > Owner: Nobody > Requestors: misc@zarb.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=57063 > > > > Several test fail on my server : > > t/keywords.t > > ok 18 - Got 2 history entries. > not ok 19 - Got updated status > # Failed test 'Got updated status' > # at t/keywords.t line 42. > # got: 'new' > # expected: 'closed' > ok 20 - I set the keywords > > t/search.t > > ok 13 - Status = closed > not ok 14 - Set status > # Failed test 'Set status' > # at t/search.t line 36. > # got: 'new' > # expected: 'closed' > ok 15 - Net::Trac::Ticket->can('create') > > ok 29 - Status = reopened > not ok 30 - Set status > # Failed test 'Set status' > # at t/search.t line 56. > # got: 'new' > # expected: 'reopened' > ok 31 - The object isa Net::Trac::TicketSearch > > ok 55 > not ok 56 - Got two results > # Failed test 'Got two results' > # at t/search.t line 88. > # got: '3' > # expected: '2' > ok 57 - The object isa Net::Trac::Ticket > ok 58 - The object isa Net::Trac::Ticket > not ok 59 - Got ticket \#2 > # Failed test 'Got ticket \#2' > # at t/search.t line 91. > # got: 'Summary #1' > # expected: 'Summary #2' > not ok 60 - Got ticket \#3 > # Failed test 'Got ticket \#3' > # at t/search.t line 92. > # got: 'Summary #2' > # expected: 'Summary moose #3' > # Looks like you failed 5 tests of 60. > > > I run trac 0.11.7. > > After looking at code, it seems the form changed, and you need to set the status using > action_resolve_resolve_resolution and action.
--
Le Sam 08 Mai 2010 15:03:24, jesse@fsck.com a écrit : Show quoted text
> Can you easily pull the latest version from > github.com/bestpractical/net-trac and tell us if it sorts things out > for > you?
Yup, it does work for me.