Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown modifier "overwrite" stops Link.Create #681

Open
jwied opened this issue Oct 31, 2024 · 0 comments
Open

Unknown modifier "overwrite" stops Link.Create #681

jwied opened this issue Oct 31, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jwied
Copy link

jwied commented Oct 31, 2024

Describe the bug
In Link version 4.0.17, the modifier "overwrite" is written into the .linkconfig file, when a Link.Export is performed with this option.
Then Link.Create doesn´t work on this folder.

To Reproduce

  1. Have a non-empty namespace #.XY
  2. Perform Link.Export:
    opts←⎕NS''
    opts.overwrite←1
    opts.arrays←1
    opts.sysVars←1
    opts ⎕SE.Link.Export '#.XY' 'F:\tmp\XY'
  3. Start a new Dyalog session (or )CLEAR)
  4. Perform Link.Create:
    ⎕SE.Link.Create '#.XY' 'F:\tmp\XY'
  5. Get this error:
    Link Warning: Unknown Setting(s) in "F:\tmp\XY/.linkconfig": overwrite
    ⎕SE.Link.Create: Unknown modifiers: overwrite

Expected behaviour
Link.Create should only report this warning, but shouldn´t throw an error and stop

Desktop (please complete the following information):

  • Dyalog 19.0.50236 64-bit Unicode, BuildID 38f63899
  • OS Windows 11 (10.0.22631) 64-bit
  • Link 4.0.17
@jwied jwied added the bug Something isn't working label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant