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

STRF-9019: fixed wrong reading from stream in archiveManager that was breaking stencil-download command #685

Conversation

MaxGenash
Copy link
Contributor

What?

There was a bug in archiveManager.js: data from the stream was read as a string instead of Buffer which caused breaking binary data, esp. images. The archiveManager was used by stencil-download command, so this command was spoiling images and as a side effect increasing their size x2. It resulted in a problem that the spoiled images started exceeding the size limit of 5MB which caused tr-300 errors when calling stencil-push.

Tickets / Documentation

#670 = STRF-8865
#632 = STRF-8851,
#682 = STRF-9019.

@MaxGenash MaxGenash requested review from jairo-bc and a team February 26, 2021 15:59
@MaxGenash MaxGenash self-assigned this Feb 26, 2021
@MaxGenash MaxGenash force-pushed the STRF-9019_Stencil_Push_causing_tr-300_error branch 2 times, most recently from ed3f5d0 to a3e5872 Compare February 26, 2021 16:52
@MaxGenash MaxGenash force-pushed the STRF-9019_Stencil_Push_causing_tr-300_error branch from a3e5872 to eb9b082 Compare February 26, 2021 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants