Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0007853 [Squeak] Any major always 07-22-16 22:22 07-28-16 10:25
Reporter TimNN View Status public  
Assigned To KenCausey
Priority normal Resolution open  
Status assigned   Product Version trunk
Summary 0007853: Files-cmm.159 causes a regression (since #/ returns object of a different class)
Description The following works without issues before `Files-cmm.159`:

```smalltalk
((FileDirectory on: '/'))
((FileDirectory on: '/') / 'tmp')
((FileDirectory on: '/') / 'tmp') pathName
```

Printing each line gives:

```
UnixFileDirectory on '/'
UnixFileDirectory on '/tmp'
'/tmp'
```

Since `Files-cmm.159` the last line fails, the output is then (with the last line being a signaled error):

```
UnixFileDirectory on '/'
a DirectoryEntryDirectory tmp
MessageNotUnderstood: DirectoryEntryDirectory>>pathName
```
Additional Information
Attached Files

- Relationships

- Notes
(0014592 - 157 - 157 - 157 - 157 - 157 - 157)
TimNN
07-28-16 10:14

This seems to have been fixed by `Files-cmm.161`, so anyone with the privileges feel free to mark this as resolved (I don't seem to be able to do so myself).
 
(0014593 - 683 - 785 - 785 - 785 - 785 - 785)
TimNN
07-28-16 10:25

I retract my previous statement, this issue has only been fixed if the path (in this case `/tmp`) refers to a directory, if it refers to a file this still fails:

Printing each line for the file case before:

```
((FileDirectory on: '/tmp')) UnixFileDirectory on '/tmp'
((FileDirectory on: '/tmp') / 'any_file') UnixFileDirectory on '/tmp/any_file'
((FileDirectory on: '/tmp') / 'any_file') pathName '/tmp/any_file'
```

After:

```
((FileDirectory on: '/tmp')) UnixFileDirectory on '/tmp'
((FileDirectory on: '/tmp') / 'any_file') a DirectoryEntryFile any_file
((FileDirectory on: '/tmp') / 'any_file') pathName MessageNotUnderstood: DirectoryEntryFile>>pathName
```
 

- Issue History
Date Modified Username Field Change
07-22-16 22:22 TimNN New Issue
07-22-16 22:22 TimNN Status new => assigned
07-22-16 22:22 TimNN Assigned To  => KenCausey
07-22-16 22:24 TimNN Issue Monitored: TimNN
07-28-16 10:14 TimNN Note Added: 0014592
07-28-16 10:25 TimNN Note Added: 0014593


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