plone/mockup

Recurrence widget does not set end recurrence by default

Closed this issue · 3 comments

In Plone 6.0 the recurrence widget by default it is initialized without checking any recurrence end.

I have being comparing the old jquery.recurrenceinput.js with the new recurrence.js. But no idea where is the error.

Seems this line is not respected: https://github.com/plone/mockup/blob/master/src/pat/recurrence/templates/form.xml#L244

Can you try if this is still an issue with the latest Plone release 6.0.4 ... we had some UI fixes in recurrence widget there.

Tested with: Plone 6.0.4 (6015), still same behavior

OK I figured out the problem: there's a configuration flag hasRepeatForeverButton where the script want's to select per default NOENDDATE but the widget configuration is set to False in the behavior here https://github.com/plone/plone.app.event/blob/master/plone/app/event/dx/behaviors.py#L148 so the radio isn't available ...

long story short: I'll fix that today

EDIT: #1313