Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0007740 [Squeak] Files minor always 02-22-13 21:26 06-22-13 00:44
Reporter tim View Status public  
Assigned To
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.4 Product Version 4.4
  Product Build
Summary 0007740: Minor bug in AcornFileDirectory>pathParts causes unit test to fail
Description The unit test FileUrlTest (or one of those group) involves sending #asUrl to a FileDirectory which in turn typically send #pathParts. AcornFileDirectory was implementing that to return an Array of path components, which means anyone attempting to drop the last element is in for a surprise.
Steps To Reproduce
Additional Information
Attached Files  AcornFileDirectory-fix-pathParts.2.cs [^] (1,082 bytes) 02-22-13 21:27

- Relationships

- Notes
(0014315 - 95 - 95 - 95 - 95 - 95 - 95)
tim
02-22-13 21:27

An easy fix. Make the partParts be an OrderedCollection as in most other FileDirectory classes.
 
(0014366 - 98 - 104 - 104 - 104 - 104 - 104)
tim
06-22-13 00:43

Fix applied to a trunk image from build.squeak.org july 21 2013 update 12597.
Saved Files-tpr.123
 
(0014367 - 47 - 47 - 47 - 47 - 47 - 47)
tim
06-22-13 00:44

Well 4.5 technically but that isn't in the list
 

- Issue History
Date Modified Username Field Change
02-22-13 21:26 tim New Issue
02-22-13 21:26 tim Status new => assigned
02-22-13 21:26 tim Assigned To  => tim
02-22-13 21:27 tim Note Added: 0014315
02-22-13 21:27 tim File Added: AcornFileDirectory-fix-pathParts.2.cs
06-22-13 00:43 tim Note Added: 0014366
06-22-13 00:43 tim Status assigned => resolved
06-22-13 00:43 tim Resolution open => fixed
06-22-13 00:43 tim Assigned To tim =>
06-22-13 00:44 tim Status resolved => closed
06-22-13 00:44 tim Note Added: 0014367
06-22-13 00:44 tim Fixed in Version  => 4.4


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
48 total queries executed.
34 unique queries executed.
Powered by Mantis Bugtracker