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

Writing to a new zip archive member without explicitly creating it raises MNU #4897

theseion opened this issue Oct 13, 2019 · 0 comments


Copy link

@theseion theseion commented Oct 13, 2019

See #2227.

The following should not fail with an MNU. The archive member should either be created implicitly or a proper exception should be raised:

| zipFile zip |
zipFile := FileSystem memory workingDirectory / ''.
zip := (FileSystem zip: zipFile) open.
zip / 'sample.txt'
  writeStreamDo: [ :stream |
  stream nextPutAll: 'test' ];
zip workingDirectory files first readStreamDo: [ :s | s contents ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.