Upgraded from version 0.7.5 to latest develop and facing issues with daily table and occurrences
See original GitHub issueHello, I had developed UI using old version of django-scheduler 0.7.5 But during my testing I found the issues with get occurences list. After checking the commit history I saw there was a recent fix so I took latest code and merged with my UI. I did all migrations and updated the call to scheduletags also. My daily view is not showing currently.
Here is the use case:
Created a daily recurrence event for 7 days from 10am to next day 10am.
start | end | title | description | created_on | updated_on | end_recurring_period | calendar_id | creator_id | rule_id ---------------------+---------------------+-----------------+-------------+---------------------+---------------------+----------------------+-------------+------------+--------- 2017-01-13 15:00:00 | 2017-01-14 15:00:00 | smajum002c,test | | 2017-01-24 01:14:44 | 2017-01-24 01:14:44 | 2017-01-20 05:00:00 | 11 | 1 | 10
rule used is:
10 | DAILY | Occurs every day | DAILY | NULL
I’m displaying the daily view like: {% daily_table period 0 24 60 %}
However instead of entire day showing as occupied it’s only showing the events at slot for 9 AM and 10 AM EST and also for 9PM and 10 PM EST.
Earlier it used to show entire day as blocked or filled and it was a very useful view to check daily events.
Can someone please tell me how to display daily view for complete set currently? Any input would be greatly appreciated?
Issue Analytics
- State:
- Created 7 years ago
- Comments:13 (7 by maintainers)
@sushovan23 thanks, I’ve just pushed another fix on my branch for events that don’t have an
end_recurring_period
. I’ll make a PR, feel free to pull it from my branch or wait untils its merged.@mpaolino : Sure here is the test data: Created one event 24 hrs duration with daily re-occurrence for a week. Then from daily calendar view and i’m clicking one any occurrence and clicking the option to edit ‘This’ occurrence from the popup dialog,
data in database:
Then it should go to edit occurrence page but it is failing since get_occurrence() is views.py has an issue in getting occurrence from method event.getoccurence() which returns None. Thus it doesn’t go to edit occurrence page anymore.
Opened issue #289