Dyalog / Dyalog/link

]Link.Status crashes if a Linked folder got removed

Open
#466 1 comment 0 reactions 1 assignee Claimed by @mkromberg View on GitHub
bug Low
Dominant language
APL
Stars
26
Forks
11
Avg merge
1d 18h
Merged PRs (30d)
1

Description

**Describe the bug**

Removing a folder which was Linked with a namespace with `-watch=ns` makes `]Link.Status` errors with

```
ERRORS ENCOUNTERED: FILE NAME ERROR: /path/ Unable to read directory status
```

**To Reproduce**

```
]LinK.Create Foo /path/to/folder -watch=ns
⎕sh 'rmdir /s /q /path/to/folder
]Link.Status
```

**Expected behaviour**

Should report a broken link instead.

I am on Link 3.1.1

This is my <01973>

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.