plone / plone.app.contenttypes

Dexterity-based content types for Plone
https://pypi.org/project/plone.app.contenttypes
14 stars 48 forks source link

Form validation error for event type #10

Closed reinhardt closed 11 years ago

reinhardt commented 11 years ago

This can be closed if the event type is scrapped in favour of plone.app.event.

When editing an event (I noticed it for the date fields and the event URL field), I get instances of this error:

2013-01-24 14:14:07 ERROR Zope.SiteErrorLog 1359033247.270.538704078821 http://localhost:8080/procyon/events/kss_z3cform_inline_validation 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 , line 5, in wrapper Module kss.core.actionwrapper, line 231, in apply Module plone.app.z3cform.kss.validation, line 60, in validate_input ValueError: invalid literal for int() with base 10: '#fieldsetlegend-default'

fkoester commented 11 years ago

It not only happens on event types. I have a custom dexterity content type and this error also occurs. The content type has only text fields.

I am using Plone 4.2.4.

pabo3000 commented 11 years ago

+1

These errors can only be seen in the log or in foreground. They do cause a halt of the instance.

fkoester commented 11 years ago

Yes, but it is annoying in debug mode because you must tell pdb to continue every time this exception occurs (in worst case one time per edited field).

tisto commented 11 years ago

plone.app.event has been merged into p.a.contenttypes. Will close this issue.