-
-
Notifications
You must be signed in to change notification settings - Fork 734
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong recurrence string made in Volto #4498
Comments
hey can you elaborate this more. I want to work on this bug. |
The idea is that the recurence definition is processed by 2 libraries: the rrule npm package (used in Volto via the RecurenceWidget) and the The problem is that some recurrence value was generated that's missing the |
Hello @cekk , I followed same steps and it seems to be working fine to me |
The error is fired on save..can you save that event? |
Sorry @cekk . My bad. I got this error. I thought with save you meant saving in the dialog of recurrence. When I saved the whole event from left side bar, it gave me error. |
Hello, I was able to refactor and resolve the issue. I'll raise the PR once my contributor agreement is approved |
@BhuvaneshPatil any news about this? |
Describe the bug
It seems that the rrule string generated in Volto isn't correct.
To Reproduce
Steps to reproduce the behavior:
How to reproduce it:
Expected behavior
Event can be saved with the selected recurrence, but Plone returns an error because the string is not well formatted.
The same setting in Classic Plone Works.
Volto send a string like this:
RRULE:INTERVAL=1;COUNT=3;BYMONTHDAY=10;BYMONTH=3"
Same settings in Plone:
RRULE:FREQ=YEARLY;BYMONTH=3;BYMONTHDAY=10;COUNT=3
This is the traceback:
The difference seems to be in missing FREQ, but i'm not a dates expert.
Software (please complete the following information):
Tested also on https://demo.plone.org
The text was updated successfully, but these errors were encountered: