DevExpress / devextreme-reactive

Business React components for Bootstrap and Material-UI
https://devexpress.github.io/devextreme-reactive/
Other
2.08k stars 380 forks source link

One-Time Appointment addition ends updating a recurring appointment which was previously visualized in an edition modal #3435

Closed wdonet closed 2 years ago

wdonet commented 2 years ago

I'm using ...

Current Behaviour

Being at Controlled Mode :

  1. Open any recurring appointment modal for edition
  2. Close the modal without doing any change
  3. Create a one-time appointment and click on Save
  4. The Recurrence Menu appears when it should not.
    • If select "This appointment", it changes the recurring appointment at (1), adding an exception and creating a new one-time event
    • If select "This and following appointments", it changes the recurring appointment at (1) too
    • If select "All appointments", it again changes the recurring appointment at (1)

So, the first recurring appointment seems to be tied to the edition of the second action so that everything added as new data in the form, gets saved as changes for the previous recurring appointment visualized.

Expected Behaviour

First: The first recurring appointment should be independent from the second addition Second: Since it is a new addition the Recurrence Menu should not appear in any of both cases: one-time appointment or recurring appointment.

Steps to Reproduce

Follow the steps above for reproducing. You can try directly at the official demo editing page.

Link to the example that reproduces the issue: <Controlled Mode Editing Demo>

Screenshots

Recurring event imagen Closing modal for the same Recurring event without doing any change imagen Double click on any other date and time for creating a new appointment imagen Create a one-time appointment imagen You will get the Recurrence Menu imagen After selecting any of the provided options and confirm you get the previous recurring appointment updated imagen

GIF https://share.getcloudapp.com/xQujE5Rk

Environment

In my case, I'm using these but not sure about the official web page.

Krijovnick commented 2 years ago

This issue will be closed as it was fixed in pull request #3463. You can check it in the nearest release.