asplunden / hollyrosa

Scheduling solution for program activities at Vässarö scout centre. Used successfully in real life. Built on top of Turbogears2.
Other
3 stars 1 forks source link

Renaming a group causes it to lose bookings #31

Open danielmartling opened 2 months ago

danielmartling commented 2 months ago

When renaming a group (for example correcting errors or adding notes if the groups visits several separate times in the summer), its bookings are still connected to the old group name and consequently disappears from the "new" group's schedule. When renaming back to the original name, the old bookings reappear and any new bookings disappears.

asplunden commented 2 months ago

This issue needs to be further discussed but here is the short background:

Bookings are connected to a group by either group id or group name. Bookings tied by group name causes the problems expressed in the issue report.

Why are some bookings connected using the group name? It used to be that there was a non significant number of groups that came and did one or two bookings and that did not require to registered as a full group. For example "Familly X" who wants to book a single Trapper.

Improved smarter renaming my be one solution to implement.