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

ScheduledSession objects aren't getting removed when they should #1498

Closed
ietf-svn-bot opened this issue Oct 6, 2014 · 4 comments
Closed

Comments

@ietf-svn-bot
Copy link

resolution_fixed type_defect | by rjsparks@nostrum.com


At some point when sessions are rescheduled (moved from one timeslot to another), the initial scheduledsession object is not getting cleaned up correctly. This is probably happening when the session is being moved out of a timeslot that has more than one Session currently associated with it.

The result violates the expectations of the UI code, which begins showing other ScheduledSession entries for the affected group as extended when it shouldn't be, and the improper scheduledsession object is used in calculating conflicts, even though it's not displayed for a timeslot.

A patch for removing the bad objects is in patches/2014-10-06-fix-91-scheduledsessions.py. If you need to run it again, sanity check it first by commenting out the .delete() and make sure what it's going to do looks sane.

Today's run produced:

Removing [<ScheduledSession: IETF-91:honolulu-10-6(Stephanie McCammon) [IETF-91: siprec 0900[23492]<->91: 11-13 16:30-19:00 Afternoon Session III, South Pacific 1]>]
Removing [<ScheduledSession: IETF-91:honolulu-10-6(Stephanie McCammon) [IETF-91: dice 1520[23500]<->91: 11-12 15:20-16:50 Afternoon Session II, Coral 2]>, <ScheduledSession: IETF-91:honolulu-10-6(Stephanie McCammon) [IETF-91: dice 1520[23500]<->91: 11-13 16:30-19:00 Afternoon Session III, Hibiscus K Tower]>]
Removing [<ScheduledSession: IETF-91:honolulu-10-6(Stephanie McCammon) [IETF-91: tictoc 1520[23515]<->91: 11-11 13:00-15:00 Afternoon Session I, Hibiscus K Tower]>]
Removing [<ScheduledSession: IETF-91:post-bof(Stephanie McCammon) [IETF-91: siprec 0900[23492]<->91: 11-13 16:30-19:00 Afternoon Session III, South Pacific 1]>]
Removing [<ScheduledSession: IETF-91:post-bof(Stephanie McCammon) [IETF-91: tictoc 1520[23515]<->91: 11-11 13:00-15:00 Afternoon Session I, Hibiscus K Tower]>]
Removing [<ScheduledSession: IETF-91:post-bof2(Stephanie McCammon) [IETF-91: siprec 0900[23492]<->91: 11-13 16:30-19:00 Afternoon Session III, South Pacific 1]>]
Removing [<ScheduledSession: IETF-91:post-bof2(Stephanie McCammon) [IETF-91: dice 1520[23500]<->91: 11-13 16:30-19:00 Afternoon Session III, Hibiscus K Tower]>]
Removing [<ScheduledSession: IETF-91:post-bof2(Stephanie McCammon) [IETF-91: tictoc 1520[23515]<->91: 11-11 13:00-15:00 Afternoon Session I, Hibiscus K Tower]>]
Removing [<ScheduledSession: IETF-91:honolulu-10-3(Stephanie McCammon) [IETF-91: siprec 0900[23492]<->91: 11-13 16:30-19:00 Afternoon Session III, South Pacific 1]>]
Removing [<ScheduledSession: IETF-91:honolulu-10-3(Stephanie McCammon) [IETF-91: dice 1520[23500]<->91: 11-13 16:30-19:00 Afternoon Session III, Hibiscus K Tower]>]
Removing [<ScheduledSession: IETF-91:honolulu-10-3(Stephanie McCammon) [IETF-91: tictoc 1520[23515]<->91: 11-11 13:00-15:00 Afternoon Session I, Hibiscus K Tower]>]

Issue migrated from trac:1498 at 2022-03-04 03:52:33 +0000

@ietf-svn-bot
Copy link
Author

@rjsparks@nostrum.com changed status from new to closed

@ietf-svn-bot
Copy link
Author

@rjsparks@nostrum.com changed resolution from `` to fixed

@ietf-svn-bot
Copy link
Author

@rjsparks@nostrum.com commented


Fixed in a12be8a:

Removes a modify-while-iterating error, and removes a bug where two different bits of code thought they were responsible for deleting things from a global list. Fixes bug #1498. Commit ready for merge.

@ietf-svn-bot
Copy link
Author

@henrik@levkowetz.com commented


Fixed in e4d43d8:

Merged in a12be8a from rjsparks@nostrum.com:\n Removes a modify-while-iterating error, and removes a bug where two different bits of code thought they were responsible for deleting things from a global list. Fixes bug #1498.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant