Products.PloneFormGen icon indicating copy to clipboard operation
Products.PloneFormGen copied to clipboard

Likert Fields never get their special-case sublist formatting?

Open uschwarz opened this issue 9 years ago • 2 comments

In content.formLikertField.FGLikertField.htmlValue, we check for presence of an attribute len on value, even though it will never be used in the branch. Indeed, the ZPublisher.HTTPRequest.record we see there doesn't have an attribute len, so the branch appears to never be taken. (At least neither for the mail adapter nor for the thanks page.)

As a consequence, the questions are not visible in the generated mails etc.

(Source: http://stackoverflow.com/q/32359852/505649)

uschwarz avatar Sep 04 '15 06:09 uschwarz

I came to the same conclusion today in 1.7.15 version, but looking at source here the problem was never resolved.

puittenbroek avatar Jul 12 '17 07:07 puittenbroek

A pull request would be welcome.

mauritsvanrees avatar Jul 12 '17 09:07 mauritsvanrees