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

UnicodeDecodeError on basic tile #144

Closed
hvelarde opened this issue Mar 4, 2013 · 4 comments
Closed

UnicodeDecodeError on basic tile #144

hvelarde opened this issue Mar 4, 2013 · 4 comments
Assignees
Milestone

Comments

@hvelarde
Copy link
Member

hvelarde commented Mar 4, 2013

when editing a basic tile sometimes I get the following error:

2013-03-04 13:49:30 ERROR Zope.SiteErrorLog 1362415770.70.00802524167372 http://localhost:8080/Plone/test/@@edit-tile/collective.cover.basic/6f64adcc4c29487bb9d0fafde8c1ef58
Traceback (innermost last):
  Module ZPublisher.Publish, line 126, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 46, in call_object
  Module plone.z3cform.layout, line 70, in __call__
  Module plone.z3cform.layout, line 54, in update
  Module collective.cover.tiles.edit, line 42, in update
  Module plone.app.tiles.browser.edit, line 48, in update
  Module plone.app.tiles.browser.base, line 55, in update
  Module plone.z3cform.fieldsets.extensible, line 59, in update
  Module plone.z3cform.patch, line 30, in GroupForm_update
  Module z3c.form.group, line 125, in update
  Module plone.app.tiles.browser.base, line 71, in updateWidgets
  Module z3c.form.field, line 275, in update
  Module z3c.form.browser.textarea, line 36, in update
  Module z3c.form.browser.widget, line 70, in update
  Module z3c.form.widget, line 123, in update
  Module z3c.form.converter, line 43, in toWidgetValue
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 0: ordinal not in range(128)
@ghost ghost assigned jpgimenez Mar 4, 2013
@ghost ghost assigned hvelarde Apr 12, 2013
@jpgimenez
Copy link
Member

Couldn't reproduce this problem.

@hvelarde
Copy link
Member Author

probably it was caused by a catalog brain with wrong data; I will close it then.

@xiru
Copy link
Member

xiru commented Oct 10, 2013

I added some tests to make sure that data is being stored as unicode. The same verifications must be done on several other places of the code, as so as the tests.

@hvelarde
Copy link
Member Author

but we need to do the same for all tiles! :-)

@hvelarde hvelarde reopened this Oct 10, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants