Mantis - Squeak
Viewing Issue Advanced Details
7740 Files minor always 02-22-13 21:26 06-22-13 00:44
tim  
 
normal  
closed 4.4  
fixed  
none    
none 4.4  
0007740: Minor bug in AcornFileDirectory>pathParts causes unit test to fail
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.
 AcornFileDirectory-fix-pathParts.2.cs [^] (1,082 bytes) 02-22-13 21:27

Notes
(0014315)
tim   
02-22-13 21:27   
An easy fix. Make the partParts be an OrderedCollection as in most other FileDirectory classes.
(0014366)
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)
tim   
06-22-13 00:44   
Well 4.5 technically but that isn't in the list