Ticket #13130 (closed Bug: fixed)

Opened 3 years ago

Last modified 3 years ago

Using a single space as Title for static portlet causes traceback "ValueError: An empty name was provided. Names cannot be empty."

Reported by: kleist Owned by: hersondf
Priority: major Milestone: 4.x
Component: General Version: 4.2
Keywords: portlet Cc:

Description

Plone 4.2.1

When adding a static portlet, and entering " " (a single space) as title:

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.app.portlets.browser.formhelper, line 53, in __call__
  Module zope.formlib.form, line 795, in __call__
  Module five.formlib.formbase, line 50, in update
  Module zope.formlib.form, line 776, in update
  Module zope.formlib.form, line 620, in success
  Module plone.app.portlets.browser.formhelper, line 70, in handle_save_action
  Module zope.formlib.form, line 903, in createAndAdd
  Module zope.formlib.form, line 912, in add
  Module plone.app.portlets.browser.adding, line 35, in add
  Module plone.app.portlets.storage, line 152, in chooseName
  Module zope.container.contained, line 739, in checkName
ValueError: An empty name was provided. Names cannot be empty.

Change History

comment:1 Changed 3 years ago by kleist

  • Status changed from new to confirmed
  • Priority changed from minor to major
  • Component changed from Unknown to General

comment:2 Changed 3 years ago by hersondf

  • Owner set to hersondf
  • Status changed from confirmed to assigned

comment:3 Changed 3 years ago by hersondf

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.