Error in Path Constraints

Bug #1071861 reported by Charlie Poole
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
NUnit Framework
Fix Released
High
Charlie Poole
NUnit V2
Fix Released
High
Charlie Poole
NUnitLite
Fix Released
High
Charlie Poole

Bug Description

SamePathConstraint reports all of the following as being the same path

/path/to/assembly/
/path/to/assembly
path/to/assembly
//path/to/assembly
/path//to/assembly (invalid path, of course)

Only the first two should be equivalent

This is due to an error in the PathConstraint.Canonicalize method, which disregards all "extra" separators, including those at the beginning and the end of a path. Only an extra slash at the end of a path should be ignored.

Changed in nunit-3.0:
status: New → Triaged
Changed in nunitlite:
status: New → Triaged
Changed in nunitv2:
status: New → Triaged
Changed in nunitlite:
status: Triaged → In Progress
Changed in nunit-3.0:
importance: Undecided → High
Changed in nunitlite:
importance: Undecided → High
Changed in nunitv2:
importance: Undecided → High
Changed in nunitlite:
assignee: nobody → Charlie Poole (charlie.poole)
milestone: none → 0.9
Changed in nunitlite:
status: In Progress → Fix Committed
Changed in nunitv2:
assignee: nobody → Charlie Poole (charlie.poole)
milestone: none → 2.6.3
Changed in nunitv2:
status: Triaged → In Progress
Revision history for this message
Jv (jv-ravichandran) wrote : Re: [Bug 1071861] Re: Error in Path Constraints

Why is it changed to "In Progress" when the fix was committed?

On Sun, Dec 23, 2012 at 6:10 AM, Charlie Poole <email address hidden> wrote:

> ** Changed in: nunitv2
> Status: Triaged => In Progress
>
> --
> You received this bug notification because you are a member of NUnit
> Developers, which is subscribed to NUnit V2.
> https://bugs.launchpad.net/bugs/1071861
>
> Title:
> Error in Path Constraints
>
> Status in NUnit Test Framework:
> Triaged
> Status in NUnitLite Testing Framework:
> Fix Committed
> Status in NUnit V2 Test Framework:
> In Progress
>
> Bug description:
> SamePathConstraint reports all of the following as being the same path
>
> /path/to/assembly/
> /path/to/assembly
> path/to/assembly
> //path/to/assembly
> /path//to/assembly (invalid path, of course)
>
> Only the first two should be equivalent
>
> This is due to an error in the PathConstraint.Canonicalize method,
> which disregards all "extra" separators, including those at the
> beginning and the end of a path. Only an extra slash at the end of a
> path should be ignored.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/nunit-3.0/+bug/1071861/+subscriptions
>

--
Regards,

*Ravichandran J.V.*
http://ravichandranjv.blogspot.com
XO 1.75 - 12.1, 0.96, Build 21, Q4D17

Revision history for this message
Charlie Poole (charlie.poole) wrote :

If you look above, you'll see the bug applies to three different projects and has a different status in each.

Changed in nunitv2:
status: In Progress → Fix Committed
Changed in nunit-3.0:
milestone: none → 2.9.6
Changed in nunitlite:
status: Fix Committed → Fix Released
Changed in nunit-3.0:
assignee: nobody → Charlie Poole (charlie.poole)
Changed in nunit-3.0:
status: Triaged → Fix Committed
Changed in nunit-3.0:
status: Fix Committed → Fix Released
Changed in nunitv2:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.