The loop parse the first folder of the zip file and ignores the other folders. #1036
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The identified problem arises at line (352 in original file) which triggers a catch at line (393 in original file).
The loop parse the first folder of the zip file and directly goes into catching the exception at line (393 in original file) by ignoring the other folders in the zip file which is not correct. By adding the additional catch statements the other folders are parsed and an error is shown. If during the parsing a folder in the zip file contains the manifest file the processing continues.
Example of the error messages:
in this case the embedded zip file has a resources_plugin folder containing the manifest.json.
To see how the bundle with the embedded files is handled check the bundles/resources_plugin sub-project.