Dyalog / Dyalog/link

Unexpected NOTIFY messages

Open
#687 0 comments 0 reactions 0 assignees View on GitHub
bug Low
Dominant language
APL
Stars
26
Forks
11
Avg merge
1d 18h
Merged PRs (30d)
1

Description

**Describe the bug**
With existing links to a script file (not a folder), Notify sends Warnings on any changes in the files folder.
This doesn´t happen, when only folders are linked.

**To Reproduce**
```
]LINK.Create 'EXCEL' 'F:\Test\Code\Excel.dyalog'
Linked: #.EXCEL ←→ F:\Test\Code\Excel.dyalog
]LINK.Create 'ADO' 'F:\Test\Code\ADO.apln'
Linked: #.ADO ←→ F:\Test\Code\ADO.apln

(3 3⍴⍳9)(⎕CSV⍠('IfExists' 'Replace')('Separator' ';')('Decimal' ',')) 'F:\Test\Code\Data\test.csv'
Link Warning: ⎕SE.Link.Notify: created F:/Test/Code/Data/test.csv: path not in a linked directory
Link Warning: ⎕SE.Link.Notify: created F:/Test/Code/Data/test.csv: path not in a linked directory
Link Warning: ⎕SE.Link.Notify: changed F:/Test/Code/Data/test.csv: path not in a linked directory
Link Warning: ⎕SE.Link.Notify: changed F:/Test/Code/Data/test.csv: path not in a linked directory
```
**Expected behaviour**
I would not expect a warning in this case, because the Data folder is not linked. Only single files in its parent folder are linked.

**Desktop :**
- OS: Windows
- APL version: 19.0 Unicode 64-bit]
- `⎕SE.Link.Version`: 4.0.17

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.