◄ ► | Muuda | Home | Admin | en de fr et | Sign in

#3704 (Show multiple-day calendar entries)

40 · by Luc Saffre · in Developers · assigned to Sharif Mehedi

Kokkuvõte

Calendar entries that span multiple days are currently show only on the first day. Lino should show them for everyday (and ideally use styling to show that it's an entry over multiple days)

Children

Kommentaarid

  • 3 aastat, 10 kuud ago by Luc Saffre about #3704 (Show multiple-day calendar entries) : I now saw with my own eyes that it is already fixed.
  • 3 aastat, 10 kuud ago by Luc Saffre about #3704 (Show multiple-day calendar entries) : I have a feeling that the actual issue is not yet fixed. It took us so time to prepare the context for reproducing the problem. The problem is that calview shows a multi-day entry only on the first day.
  • 3 aastat, 10 kuud ago by Sharif Mehedi about #3704 (Show multiple-day calendar entries) : @luc I am setting this ticket to ready. Feel free to set it to closed after checking, remember to pull lino and react. also hit CTRL-SHIFT-R after pulling react before starting your test.
  • 3 aastat, 10 kuud ago by Sharif Mehedi about #3704 (Show multiple-day calendar entries) : The event is visible after clearing the hide_events_before, but this change is only effective when I hit the rebuild_site_cache on the Site Parameters.
  • 3 aastat, 10 kuud ago by Luc Saffre in reply to Sharif Mehedi about #3704 (Show multiple-day calendar entries) : Yes, see my comments from one week ago on this ticket.
  • 3 aastat, 10 kuud ago by Sharif Mehedi about #3704 (Show multiple-day calendar entries) (1 reply) : I checked from a shell, that there exists an event for the Greece activity. But for some reason it's not been shown in the front end. So, update_auto_events does not seem to have any issue, the problem is probably only the query that fetches the events from the database for an activity.
  • 3 aastat, 10 kuud ago by Luc Saffre about #3704 (Show multiple-day calendar entries) : Even after modifying hide_events_before, the Greece event is not being shown in the calendar view. Still wondering why.
  • 3 aastat, 10 kuud ago by Luc Saffre about #3704 (Show multiple-day calendar entries) : In order to see the hidden events, I can open Explorer --> Calendar --> Entries, expand the parameter panel and clear the start_date field. OMG! And for testing our original issue, the multi-day calendar entries, I can simply go to Configure --> System --> Site Parameters and change hide_events_befo...
  • 3 aastat, 10 kuud ago by Luc Saffre about #3704 (Show multiple-day calendar entries) : The calendar entry is not hidden because of its state, but because it is older than SITE.site_config.hide_events_before. And in a certain way this is what hide_events_before is meant to do.
  • 3 aastat, 10 kuud ago by Luc Saffre about #3704 (Show multiple-day calendar entries) : I spawned #4726 because it makes it impossible to see the closed calendar entries of an activity.
  • 3 aastat, 10 kuud ago by Luc Saffre about #3704 (Show multiple-day calendar entries) : Ha! After half an hour of print statements and a run script I understood that actually the single calendar entry for the greece travel gets generated! It's just invisible because it's already closed.
  • 3 aastat, 10 kuud ago by Luc Saffre in reply to Sharif Mehedi about #3704 (Show multiple-day calendar entries) : I will have a look at it now and will share on Jitsi. Join me if you are available.
  • 3 aastat, 10 kuud ago by Sharif Mehedi about #3704 (Show multiple-day calendar entries) (1 reply) : I am somewhat at a loss, figuring this out. @luc we should probably sit on this together again.
  • 3 aastat, 10 kuud ago by Luc Saffre about #3704 (Show multiple-day calendar entries) : We still don't know how to get the grece calendar event generated.
  • 3 aastat, 10 kuud ago by Sharif Mehedi about #3704 (Show multiple-day calendar entries) : I checked the mdes (multi-day entries) and entries/qs querysets, they are essentially/"interpreted as" different querysets. So, that probably has no connection to this issue what-so-ever.
  • 3 aastat, 11 kuud ago by Luc Saffre about #3704 (Show multiple-day calendar entries) : Sharif and I tried to understand why the roger demo has no calendar event for Greece 2014.
  • 3 aastat, 11 kuud ago by Luc Saffre about #3704 (Show multiple-day calendar entries) : I increased priority because this would be a demo stopper if anybody is insterested in the calendar functionality.
  • 3 aastat, 11 kuud ago by Luc Saffre about #3704 (Show multiple-day calendar entries) : I think that the best place for testing this is the "roger" demo project. It has already an activity (more precisely a "Journey") called "Greece 2014". We can't yet see our problem because for some reason this activity did not generate its calendar event in the demo database. That seems to be a bug ...
  • 3 aastat, 11 kuud ago by Luc Saffre about #3704 (Show multiple-day calendar entries) : I guess it is some little change somewhere in the calview queries.
  • 3 aastat, 11 kuud ago by Luc Saffre about #3704 (Show multiple-day calendar entries) : This is not yet working, is it? Would be nice to have.