llazzaro / django-scheduler-sample

Example application of django-scheduler
78 stars 76 forks source link

'NoneType' object has no attribute 'event' #30

Open Lucianovici opened 7 years ago

Lucianovici commented 7 years ago

Reproducible steps

  1. Follow the instructions from README.md to setup the project.
  2. Run ./manage.py load_sample_data
  3. Run ./manage.py load_example_data
  4. Navigate to the next 25th of December where a recurrent occurrence is displayed.
  5. http://127.0.0.1:8000/schedule/calendar/daily/example/?year=2017&month=12&day=25
  6. Click on that X icon of the Christmas Party event occurrence.
  7. In the Question modal window, click This button.

Actual result

Exception: 'NoneType' object has no attribute 'event'

Expected result

Cancel only that occurrence.

101pagejimmy commented 6 years ago

capture capture

I am running into the same issue. Did you ever find any way to fix this? I can obviously tell that the object is none (based on the local var in the picture), but this is directly from the django-scheduler-sample I have a hard time believing this issue lies on my side. Noted that I have also implemented the regular scheduling app in my website and I run into the same issue. I am a knowledgeable developer but this seems to be either something that I am completely messing up on, or it is an incomplete app. Noted I have followed the README multiple times to the tee, and yet, I wind up with the same results.