DarkmiraTour / community-event-manager

Web application with a collection of tools helping people organising community events such as multi-days conference with reminders, CRM and such
GNU General Public License v3.0
21 stars 22 forks source link

Add the according speaker attending to the event when user add a new talk to the schedule #215

Open kevinjhappy opened 4 years ago

kevinjhappy commented 4 years ago

Description

Follow comment from this pull request https://github.com/DarkmiraTour/community-event-manager/pull/169 as to be addressed in another issue

When adding a talk to the schedule, the speaker should be automatically assigned to the event selected as he will be doing a talk as a speaker. But when adding a talk to the schedule, en speaker does not appears in the list of attending events, therefore the link is not done between the talk, the speaker and the fact he will attending the event.

To fix this issue, a new action must be taken (using decorator or event listener) to link the speaker to the current event the organiser is managing. Also if the link is made you will be able to see in the event detail page the list of all speakers attending.

Scenarios

Feature : Link a speaker to the event he will make a talk to

Scenario: User is on the schedule page Given the user is connected with a role_admin When the user add a slot And user complete the form with a talk And the talk is recorded to the schedule And the user is on the speaker page Then the user should see the speaker that will do the talk