Manuscript (Case [Issue]21574) Kernel - MCMczWriter>>#flush breaks

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Manuscript (Case [Issue]21574) Kernel - MCMczWriter>>#flush breaks

Pharo Issue Tracker
Manuscript Notification
avatar
Guillermo Polito opened Case 21574: MCMczWriter>>#flush breaks and assigned it to Everyone:
Bug in Project:  Kernel: 1. Pharo Image  •  You are subscribed to this case
MC is using a stream over a string to write binary contents. It should use a binary stream.

ByteString(Object)>>error:
ByteString(Object)>>errorImproperStore
ByteString>>at:put:
ZipWriteStream(WriteStream)>>nextPut:
[ :ch | self nextPut: ch ] in ZipWriteStream(DeflateStream)>>next:putAll:startingAt: in Block: [ :ch | self nextPut: ch ]
ByteArray(SequenceableCollection)>>do:
ZipWriteStream(DeflateStream)>>next:putAll:startingAt:
ZipWriteStream(DeflateStream)>>nextPutAll:
ZipStringMember(ZipArchiveMember)>>compressDataTo:
ZipStringMember(ZipArchiveMember)>>writeDataTo:
ZipStringMember(ZipArchiveMember)>>writeTo:
[ :member |
member writeTo: stream.
member endRead ] in ZipArchive>>writeTo: in Block: [ :member | ...
OrderedCollection>>do:
ZipArchive>>writeTo:
MCMczWriter>>flush
MCMczWriter class>>fileOut:on:
MCVersion>>fileOutOn:
[ :s | aVersion fileOutOn: s ] in MCHttpRepository(MCFileBasedRepository)>>basicStoreVersion: in Block: [ :s | aVersion fileOutOn: s ]
MCHttpRepository>>entityStreamContents:
MCHttpRepository>>writeStreamForFileNamed:replace:do:
MCHttpRepository(MCFileBasedRepository)>>writeStreamForFileNamed:do:
MCHttpRepository(MCFileBasedRepository)>>basicStoreVersion:
MCHttpRepository(MCRepository)>>storeVersion:
MCHttpRepository(MCFileBasedRepository)>>storeVersion:
[ super storeVersion: aVersion ] in MCHttpRepository>>storeVersion: in Block: [ super storeVersion: aVersion ]
BlockClosure>>on:do:
MCHttpRepository>>retryOnCredentialRequest:
MCHttpRepository>>storeVersion:
MCWorkingCopyBrowser>>storeVersion:in:
[ self
storeVersion: newVersion in: aRepository;
storeDependencies: newVersion in: aRepository ] in [ [ self
storeVersion: newVersion in: aRepository;
storeDependencies: newVersion in: aRepository ]
ensure: [ (MCVersionInspector new version: newVersion) show ] ] in MCWorkingCopyBrowser>>basicSaveVersionIn: in Block: [ self...
Priority Priority: 5 – Fix If Time Status Status: Work Needed
Assigned To Assigned to: Everyone Milestone Milestone: Later

Go to Case
No longer need updates? Unsubscribe from this case.

Don't want Manuscript notifications anymore? Update your preferences.

Manuscript

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
https://lists.gforge.inria.fr/mailman/listinfo/pharo-bugtracker