Skip to content

]link.resync fails when using text:plain #736

@mkromberg

Description

@mkromberg

Describe the bug
Resync claims that changes exist even when they do not, if text:plain is set.

To Reproduce
⎕MKDIR 'c:\tmp\statfns'
(⊂'Mean' 'StdDev')⎕NPUT'c:\tmp\statfns\STATFNS.vec.apla'
]link.create # c:\tmp\statfns
)save c:\tmp\statfns.dws
)load c:\tmp\statfns.dws
c:\tmp\statfns.dws ⍝ saved Thu Sep 25 17:30:55 2025
Link Warning: IMPORTANT: 1 namespaces linked in this workspace: #
Link Warning: IMPORTANT: Link.Resync is required
]link.resync
2 updates required: use -proceed option to synchronise

Name Direction File Comments
← C:/Devt/Link/StartupSession/Link/U/ File has no corresponding item
← c:/tmp/statfns/STATFNS.vec.apla File has no corresponding item

Expected behaviour
There is no need for a resync. The issue is that inside Link.Diff, the corresponding element of expfiles for STATFNS is STATFNS.apla and not STATFNS.vec.apla.

Version Info
APL Version: 20.0.52434.0 64 Unicode
Link: 4.1.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions