archive module doesnt create directory entries

Bug #1039576 reported by Dennis Knochenwefel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Fix Released
High
Luis Rodriguez Gonzalez

Bug Description

For example:

  archive:create(
     ("META-INF/container.xml"),
     ( content:metainf() ),
     <a:options>
       <a:skip-extra-attributes>true</a:skip-extra-attributes>
     </a:options>
  )

should create *2* entries automatically: one directory entry for META-INF and one file entry for META-INF/container.xml

Currently, the archive module only creates one file entry for META-INF/container.xml

As result the created zip archive is corrupt and cannot be read by some archive consumers (e.g. epub readers).

Additionally, as Luis pointed out, empty directories cannot be created automatically. Therefore, users should also be able to create directories manually.

Related branches

Changed in zorba:
milestone: 2.7 → 2.8
Chris Hillery (ceejatec)
Changed in zorba:
status: New → Fix Committed
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.