Ticket T1280006
Visible to All Users

Scheduler sometimes doesn't show appointments

created 2 days ago

Hi,

We have updated DevExpress from version 18.1.11 to version 24.1.9.

Since the update, a customer has the problem that the appointment planner sometimes does not display appointments.
I debugged the source and found the cause in the function TcxCustomSchedulerStorage.GetSortedList.
The problem no longer occurs when I comment out the line "TcxScheduler Event(Event).Check Calculated;" or deactivate multithreading in cxSchedulerUtils.

Attached are two videos that show the effect in our application. In the video you can see how I simulate a change in the database and then activate the scheduler window, which then automatically updates it. In our case, the scheduler is tied to a MemTable.

I analyzed the problem further and found that the result of the function "TcxCustomSchedulerStorage.GetSortedList" is not sorted correctly sometimes. Attached is a screenshot that compares the incorrect result with the correct result.

The incorrect sorting then leads to the wrong result in the "TcxCustomSchedulerStorage.InternalGetEvents" function.

We decided to disable multithreading for the scheduler to resolve the issue.

Any ideas?

Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.