zip import with images failing when id's contain '-' or '_'

Bug #1092854 reported by Wim Boucquaert on 2012-12-21
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Silva
High
Sylvain Viollon

Bug Description

When importing a zip file with image assets containing '-' and '_' an error is raised:

Object class: __builtin__.instancemethod
Object path: n/a
Request URL: http://mysite/++rest++silva.ui/content/import/POST
Request method: POST
Query string: n/a
User: wim
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0
Refer: http://mysite/edit
Traceback (innermost last):
  Module infrae.wsgi.publisher, line 355, in publish_and_render_errors
  Module infrae.wsgi.publisher, line 334, in publish
   - Published class: __builtin__.instancemethod
   - Object path: n/a
   - Object type: n/a
  Module ZPublisher.mapply, line 77, in mapply
  Module infrae.wsgi.publisher, line 40, in call_object
  Module silva.ui.rest.base, line 90, in GET
  Module silva.ui.rest.base, line 136, in get_payload
  Module zeam.form.silva.form.smi, line 98, in payload
  Module zeam.form.base.form, line 301, in updateActions
  Module zeam.form.base.actions, line 67, in process
  Module zeam.form.silva.actions, line 163, in __call__
  Module zeam.form.base.actions, line 141, in __call__
  Module silva.core.smi.content.xml.import, line 84, in import_file
  Module Products.Silva.adapters.archivefileimport, line 72, in importArchive
  Module Products.Silva.Image.content, line 84, in manage_addImage
ValueError: Invalid computed identifier.

description: updated
Sylvain Viollon (thefunny) wrote :

This was fixed a while back, waiting for a 3.0.1 release.

Changed in silva:
importance: Undecided → High
milestone: 3.0 → 3.0.1
status: New → Fix Committed
Changed in silva:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers