Ticket #2447 (new defect)

Opened 8 years ago

Last modified 8 years ago

Error in parameters page for widgets with no user editable properties

Reported by: gracinet Owned by: gracinet
Priority: P2 Milestone: CPS 3.5.7
Component: CPSUserForms Version: 3.5.2
Severity: normal Keywords: user editable properties widget
Cc:

Description

If one of the template widgets used for user forms has no user editable properties, we end up like this :

  Module Products.PageTemplates.Expressions, line 185, in __call__
  Module Products.PageTemplates.Expressions, line 180, in _eval
  Module Products.PageTemplates.Expressions, line 85, in render
  Module Products.CPSUserForms.browser, line 203, in render
  Module Products.CPSUserForms.browser, line 181, in extractProps
TypeError: iterable argument required

There should be no error, and the button should not be presented in that case

Change History

comment:1 Changed 8 years ago by gracinet

Done in 3.4 branch

Note: See TracTickets for help on using tickets.