exportBarProcessContentUnderHome ProcessAPIImpl bug

Bug in org.bonitasoft.engine.api.impl.ProcessAPIImpl.exportBarProcessContentUnderHome

Hi, There is a bug in method exportBarProcessContentUnderHome in org.bonitasoft.engine.api.impl.ProcessAPIImpl class. Usually retured archive is invalid and cannot be unzipped later on. The problem is in closing ZipOutputStream too late (or return it's content too soon) so it is not finished yet. Please consider to alter the code.

Now this particular part of code looks like this:

Notifications