Skip to content
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

plone.app.event: Additional Dates Not Arranged Properly in Recurrence Selection #4105

Open
rohnsha0 opened this issue Feb 12, 2025 · 3 comments

Comments

@rohnsha0
Copy link
Contributor

BUG/PROBLEM REPORT (OR OTHER COMMON ISSUE)

What I Did:

  1. Added recurring events using the repeat event feature.
  2. Set the recurrence to end after a certain number of occurrences.
  3. Manually added additional dates to the list.

Expected Behavior:

The selected dates should appear in a properly sorted order (chronologically).

Actual Behavior:

The manually added additional dates are not arranged in order with the automatically generated recurrence dates.

Image

What version of Plone/ Addons I am using:

  • Plone 6.1.1.dev0 (6108)
  • CMF 3.6
  • Zope 5.12
  • Python 3.11.11
  • PIL 11.0.0 (Pillow)
  • WSGI: On
  • Server: waitress 3.0.2
@stevepiercy
Copy link
Contributor

stevepiercy commented Feb 12, 2025

I got slightly different, but still not correct sorting results on https://classic.demo.plone.org/en/++add++Event while editing the recurrence in the modal dialog.

After entering the recurrence, I added in order:

  • 2025-02-10
  • 2025-02-20
  • 2025-02-24

They were inserted before the recurrence in the order of:

  • 2025-02-24
  • 2025-02-20
  • 2025-02-10

That implies a zero-index insertion.

Image

However, when I click Save, then the sort is correct in the event.

Image

@rohnsha0
Copy link
Contributor Author

It is added at zero'th index and just refreshes and comes to correct order after clicking or choosing any options or clicking save button

@rohnsha0
Copy link
Contributor Author

Additionally, even if 12 Feb 2025 is added to the list, upon clicking Add date btn, it again adds the same date

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants