Canceling session after it has happened

Canceling session after it has happened

by Scott Karren -
Number of replies: 4
All

I have found an issue that I am not sure is by design or a bug. If a user signs up for the session, attends the session and has attendance marked as attended and then say a week after the session has passed goes back into the course they are still able to cancel their attendance. Anyone else having this issue?

Scott Karren
Average of ratings: -
In reply to Scott Karren

Re: Canceling session after it has happened

by François Marier -
Hi Scott,

That does sound like a bug smile Feel free to open an issue on the tracker for that.

I'll try to fix it in my next batch of changes to the Face-to-face module.

Thanks,
Francois
In reply to François Marier

Re: Canceling session after it has happened

by Scott Karren -
Francois

Can you tell us what changes you are going to be making and possibly when to expect those changes? Really I am more interested in what the changes are more then when those will be made.

Scott Karren
In reply to Scott Karren

Re: Canceling session after it has happened

by François Marier -
I'm thinking of three things:

  1. I will add a check in lib.php:faceoface_user_cancel().
  2. There will be a new parameter to force the cancellation so that the facetoface_delete_session() function in the same file can continue to work.
  3. Also, ideally there should be a better error message returned in signup.php. (Currently it just says cancel booking (FAILED).)


Cheers,
Francois