I'm submitting a ...
Current behavior:
I am getting an error not found when I try to access the schedule of an event :

Expected behavior:
The schedule should be displayed .
Steps to reproduce:
Other information:
This is the screenshot of my scheduler tab.

System information:
I am facing this on eventyay.com as well as on my local setup.
OS : Linux
Python 2.7.13
@LuD1161 Please crop your screenshots in future to avoid unnecessary details.
@LuD1161 check the status of the sessions. accepted sessions are only shown in schedule.
@niranjan94 why only accepted sessions are shown in the schedule. what if session is confirmed? please check this code. https://github.com/fossasia/open-event-orga-server/blob/development/app/views/public/event_detail.py#L58
when all the sessions are confirmed, get_count(DataGetter.get_sessions(event.id)) return 0, hence giving 404 error
@event_detail.route('/<identifier>/schedule/')
def display_event_schedule(identifier):
...
accepted_sessions_count = get_count(DataGetter.get_sessions(event.id))
...
if accepted_sessions_count == 0 or not event.schedule_published_on:
abort(404)
default state is accepted in get_sessions
@staticmethod
def get_sessions(event_id, state='accepted'):
...
I think we should change show sessions which are in either of the two states confirmed ,accepted.
That should suffice .
@niranjan94 @mejariamol
what do you suggest ?
@LuD1161 agreed. Both states should be displayed
@LuD1161 what's the progress on that ? This seemingly simple issue has been open for the past two days. Ideally we want to close all issues in a day.
@niranjan94
Done.
@LuD1161 where is the PR ? No issue is done without a linked PR.